| INT WINAPI FtpGetDirectoryFormat( |
| |
HCLIENT hClient |
|
| ); |
The FtpGetDirectoryFormat function returns an identifier
which specifies what format is being used by the server to list
files. By default, the library will automatically determine the
appropriate format, but this value may be overridden by the
FtpSetDirectoryFormat function.
Parameters
- hClient
- Handle to the client session.
Return Value
If the function succeeds, the return value is the currently
selected directory format. If the function fails, the return value is
FTP_ERROR. To get extended error information, call
FtpGetLastError.
Remarks
Refer to the FtpSetDirectoryFormat function for a list of
directory format types that are supported by the library. This
function can be used to determine which format was selected by the
library after a file listing has been retrieved.
Requirements
Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: csftpv12.lib
See Also
|