Method FTPClient2():createDir() Foundation

Creates a directory on the FTP server.

Syntax
:createDir( <cDirectory> ) --> lSuccess
Parameters
<cDirectory>
The relative or fully qualified path of the directory to be created on the server.
Return

.T. (true) if successful, .F. (false) if the directory cannot be created.

Description

Creates a new directory on the FTP server with the specified path.

If the operation fails, use :getLastError() and :getLastMessage() methods to get details about what went wrong. Possible issues might include permission problems or invalid path specifications.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.