Gets or sets the compression level used when uploading in mode Z (Zlib).
Possible values are 0-9, where 0 means no compression (fastest) and 9 means best compression (slowest).
Default value is 6 (medium compression and speed).
Namespace:
Rebex.Net
Assembly:
Rebex.Ftp (in Rebex.Ftp.dll)
Syntax
Visual Basic |
---|
Public Property CompressionLevel As Integer Get Set |
C# |
---|
public int CompressionLevel { get; set; } |
Field Value
Compression level.Remarks
Applies to upload operations only. For download operations, the compression level is determined by the FTP server itself.