Method FTPClient2():delete() Foundation
Deletes a file.
:delete( <cFilename> ) --> lSuccess
.T. (true) if the file was successfully deleted, or .F. (false) otherwise.
Deletes a file on the FTP server. The operation permanently removes the specified file.
In case of failure, detailed error information can be obtained using the :getLastError() and :getLastMessage() methods. Common failures include insufficient permissions, the file is currently in use or attempts to delete non-existent files.
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.