public virtual bool CompressionPreferred { get; set; }Public Overridable Property CompressionPreferred As Boolean
Get
Setpublic:
virtual property bool CompressionPreferred {
bool get ();
void set (bool value);
}abstract CompressionPreferred : bool with get, set
override CompressionPreferred : bool with get, setSome 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.