3Com S7902E Command Reference Manual - page 2097
2-25
Field
Description
XCWD
Extension command, the same meaning as
CWD
XMKD
Extension command, the same meaning as MKD
XPWD
Extension command, the same meaning as
PWD
XRMD
Extension command, the same meaning as
RMD
Syntax: USER
Syntax of the
user
command: user (keyword) +
space +
username
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.
Note that only authorized users are allowed to use this command.
Note that:
z
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, refer to the
delete
command.
z
After you execute the
rmdir
command successfully, the files in the remote recycle bin under the
directory will be 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
]