Enabling File Compression
File compression is disabled in the FTP Agent by default. File compression helps you control processor and memory usage but this comes at the cost of speed. If you want to enable file compression, add the following parameter to the Agent startup command:
-Djsch.compression=zlib@openssh.com,zlib,none
As a result, the Agent uses zlib@openssh.com as compression algorithm. If you want to use zlib instead, set this to first position instead, for example:
-Dsch.compression=zlib,zlib@openssh.com,none
If you want to specify the compression level too, add the following option:
-Djsch.compression_level=<level>
-
Allowed level values: 0 to 9
-
Default value: 6 if you do not specify compression_level.
See also: