edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

ExFTPConnectionCompressionPreferred Property

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

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public virtual bool CompressionPreferred { get; set; }

Property Value

Boolean

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