FTPDELDIR Delete a directory on an FTP site |
Top Previous Next |
When connected to a HTTP/HTTPS site, this command will only work with a DAV enabled web server. For further details on DAV enabled web server, see http://www.webdav.org/specs/rfc2518.html. When connected to a HTTP/HTTPS site, the FTPDELDIR command will delete non-empty directories.
This script command deletes an empty directory on an FTP site. This is an example of the FTPDELDIR command:
FTPDELDIR "olddirectory"
Consider the following example where all files and subfolders found in olddirectory are deleted on the FTP site.
FTPDELDIR "olddirectory" /delfiles /incldirs
Wildcard characters are not permitted with the FTPDELDIR command.
To delete a local folder, use the DELDIR script command.
Related Command(s): FTPCD, FTPDELETE, FTPMAKEDIR, FTPRENAME
|