FtpGetFileNameEncoding Function  
 
INT WINAPI FtpGetFileNameEncoding(
  HCLIENT hClient  
);

The FtpGetFileNameEncoding function returns an identifier which specifies what type of encoding is being used when file names are sent to the server.

Parameters

hClient
Handle to the client session.

Return Value

If the function succeeds, the return value is the type of encoding that is used. If the function fails, the return value is FTP_ERROR. To get extended error information, call FtpGetLastError.

Remarks

Refer to the FtpSetFileNameEncoding function for a list of encoding types that are supported by the library.

Requirements

Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header File: cstools10.h
Import Library: csftpv10.lib

See Also

FtpCommand, FtpEnableFeature FtpGetFeatures, FtpSetFileNameEncoding, FtpSetFeatures