0 votes
by (120 points)
edited

How to increase the speed when downloading files from SFTP to local using REBEX Code in Visual Basic

1 Answer

0 votes
by (144k points)
edited

Before connecting to the server, try enabling the UseLargeBuffers option:

  sftp.Options |= SftpOptions.UseLargeBuffers; //(C#)
  sftp.Options = sftp.Options Or SftpOptions.UseLargeBuffers; ' VB.NET

  sftp.Connect(...)

(where 'sftp' is an instance of the Sftp object)

Does that make a difference?

...