edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

SecureFTPConnectionCommandEncoding Property

The character-encoding to use when dealing with file- and directory-paths.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public override Encoding CommandEncoding { get; set; }

Property Value

Encoding

Remarks

The default is ASCII, except for SFTP but should be changed when communicating with FTP servers that have file-names containing non-ASCII characters

The default for SFTP is UTF-8, but may need to be changed for SFTP servers that do not support UTF-8 (typically SFTP version 3 or below).

Note that this value is NOT used for SFTP servers with a version number greater than 3 - UTF-8 is always used in these cases as per the standard.

See Also