65
rmdir
Syntax
rmdir directory
View
FTP client view
Default Level
3: Manage level
Parameters
directory: Directory name on the remote FTP server.
Description
Use the rmdir command to remove a specified directory from the FTP server.
Only authorized users are allowed to use this command.
The directory to be deleted must be empty, meaning you should delete all files
and subdirectories under the directory before you delete a directory. For the
deletion of files, see the delete command.
After you execute the rmdir command successfully, the files in the remote recycle
bin under the directory are automatically deleted.
Examples
Delete the temp1 directory from the authorized directory on the FTP server.
[ftp] rmdir /temp1
200 RMD command successful.
user
Syntax
user username [ password ]
View
FTP client view
Default Level
3: Manage level
Parameters
username: Login username.