CompressionAlgs Structure/Class[C] struct FlowSshC_CompressionAlgs
[C++] struct CompressionAlgs : public FlowSshC_CompressionAlgs
[C#] public sealed class CompressionAlgs
Members
Remarks The CompressionAlgs structure/class is used to configure compression algorithms for the session. Currently, the only compression algorithm defined by the SSH specification is "zlib". For member values the following rules apply:
By default, "zlib" compression is disabled because in modern high-bandwidth environments, compression actually slows down the rate of file transfer instead of increasing it. If you have a connection that would benefit from compression, e.g. due to low bandwidth and because you are transfering highly-compressible data, enable the "zlib" algorithm. Note of course that even if you enable the "zlib" algorithm, it will not be used unless it is also enabled and supported at the SSH server. |