INT GetDirectoryFormat(); |
The GetDirectoryFormat method 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
SetDirectoryFormat method.
Parameters
None.
Return Value
If the method succeeds, the return value is zero. If the method
fails, the return value is FTP_ERROR. To get extended error
information, call GetLastError.
Remarks
Refer to the SetDirectoryFormat method for a list of
directory format types that are supported by the library. This method
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: cstools11.h
Import Library: csftpv11.lib
See Also
CloseDirectory,
GetFileStatus,
GetFirstFile,
GetNextFile,
OpenDirectory,
SetDirectoryFormat
|