Downloading binary files

Top  Previous  Next

To download binary files you must set the transfer mode to binary (the default) using the Sftp.SetBinaryMode method.

 

Example

 

[C#]

 

// set to binary mode

sftp.SetBinaryMode();

 

 

[VB]

 

' set to binary mode

sftp.SetBinaryMode