Xceed FTP Library Documentation
RepresentationType property
XceedFtp control reference > Properties > RepresentationType property

Description

This property allows you to specify the representation type of the data to send or receive (ASCII or binary).

When sending a file in ASCII representation, the library will translate the text to the 8-bit NVT-ASCII representation. When receiving a file in ASCII representation, the library will presume the format is 8-bit NVT-ASCII, and do the necessary conversion to have a standard Windows ANSI text file.

When sending and receiving in binary format, the data is sent and received "as is", without any conversion or padding.

Data type

EXFRepresentationType

Possible values 

Enum Value Meaning
frtBinary 0 Data is sent and received in binary format.
frtAscii 1 Data is sent and received in NVT-ASCII format

Default value

fftBinary

Declaration  

HRESULT RepresentationType( [out, retval] EXFRepresentationType* peVal ); 

 

HRESULT RepresentationType( [in] EXFRepresentationType eVal );