Back to product page

Compression property


Determines level of compression used.

Type

Integer.

Syntax

  • C#
  • VB.NET
Int32 Compression {get; set; };

Property Compression As Int32

Remarks

Before connecting to the server, you can decide if you want to use wodSFTP.NET's internal compression. If so, you should set Compression property to any value between 1 and 9 (1 for lowest compression, 9 for highest compression). If you don't want compression to be used, set this parameter to 0.

You can change Compression setting during the connection. Typically, clients use compression level 6 for optimum performance (default value).

Platforms

Windows