An NDoc Documented Class Library |

# FTPConnection.DataEncoding Property

The character-encoding to use for transferring data in ASCII mode.

public virtual System.Text.Encoding DataEncoding {get; set;}

#### Remarks

The default is to use the default character encoding (generally UTF8). Some common character encodings to try for western European languages are `Windows-1252` and `ISO-8859-1`.

This encoding is not used when transferring data in binary mode.

#### See Also

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace