Sftp.Encoding Property
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9119)
Encoding
Gets or sets the Encoding to use to encode and decode command parameters and server responses.
Declaration
public Encoding Encoding { get; set; }
Property Value
Type | Description |
---|---|
Encoding | The Encoding to use to encode and decode command parameters and server responses. Default is Encoding.Default. |
Implements
Remarks
Even though the RFC implies that UTF-8 is to be used to encode all communication, the practice is very different, unfortunately. In the real world, all SFTP servers seem to default to the OS default charset.