Enabling ZIP compression

Top  Previous  Next

Some FTP servers support ZIP compression when performing file transfers or directory listings.  ZIP compression can drastically reduce the amount of time needed for file transfers or directory listings, especially over slow networks or when transferring large text files.  To enable ZIP compression you may use the Ftp.Compression property.

 

Example

 

[C#]

 

ftp.Compression = true;

 

[Visual Basic]

 

ftp.Compression = True