Mode Z is an FTP transfer mode implemented by some FTP servers. It allows for files to be uploaded and downloaded using compressed streams (using the zlib deflate algorithm).
There is a new method:
bool success = SetModeZ( );
Call it after connecting to enable Mode Z. Once enabled, all transfers (uploads, downloads, and directory listings) are compressed.
SetModeZ returns true for success, false for failure.
There is also boolean property named HasModeZ that can be checked after connecting
to see if the FTP server supports Mode Z.