An NDoc Documented Class Library

ExFTPConnection.CompressionPreferred Property

Flag to enable or disable MODE Z compression for FTP/FTPS transfers.

public virtual bool CompressionPreferred {get; set;}

Remarks

Some FTP servers support the MODE Z command, permitting transfers to be compressed. This speeds up transfers significantly for files that are compressible such as text files.

If this flag is switched on, MODE Z compression is enabled if the server permits it. If the flag is later switched off, MODE Z compression is not disabled until the connection is closed and then re-opened again.

See Also

ExFTPConnection Class | EnterpriseDT.Net.Ftp Namespace