rmdir
Use rmdir to permanently delete a directory on the FTP server.
Syntax
rmdir directory
Views
FTP client view
Predefined user roles
network-admin
mdc-admin
Parameters
directory: Specifies the name of a directory on the remote FTP server.
Usage guidelines
You can perform this operation only after you log in to the FTP server.
To perform this operation, you must have delete permission on the FTP server.
Delete all files and subdirectories in a directory before you delete the directory. For more information about how to delete files, see the delete command.
Executing the rmdir command also deletes the files in the recycle bin of the specified directory.
Examples
# Delete the empty directory subdir1.
ftp>rmdir subdir1 200 Directory subdir1 removed
Related commands
delete