Method FTPClient2():removeDir() Foundation
Removes a directory.
:removeDir( <cDirectory> ) --> lSuccess
.T. (true) if successful, .F. (false) if the directory cannot be removed.
Removes a directory from the FTP server. The directory must be empty for the operation to succeed.
If the operation fails, use :getLastError() and :getLastMessage() methods to get details about what went wrong. Common failures include attempting to remove a non-empty directory or insufficient permissions.
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.