0 votes
by (120 points)

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)

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

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


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

Does that make a difference?