edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Flag to enable or disable MODE Z compression for FTP/FTPS transfers.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40

Syntax

C#
public virtual bool CompressionPreferred { get; set; }
Visual Basic
Public Overridable Property CompressionPreferred As Boolean
	Get
	Set
Visual C++
public:
virtual property bool CompressionPreferred {
	bool get ();
	void set (bool value);
}

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