INT CreateDirectory( |
|
LPCTSTR lpszDirectory |
|
); |
The CreateDirectory method creates the specified directory
on the server.
Parameters
- lpszDirectory
- Points to a string that specifies the name of
the directory. The file pathing and name conventions must be that
of the server.
Return Value
If the method succeeds, the return value is the server result
code. If the method fails, the return value is FTP_ERROR. To get
extended error information, call GetLastError.
Remarks
This method uses the MKD command to create the directory. The user
must have the appropriate permission to create the specified
directory.
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
Unicode: Implemented as Unicode and ANSI versions
See Also
ChangeDirectory,
GetDirectory,
RemoveDirectory
|