Command Manual – File System Management
H3C S7500E Series Ethernet Switches
Chapter 2 FTP Configuration Commands
2-25
Field
Description
XRMD
Extension command, the same meaning as RMD
Syntax: USER <sp>
<username>.
Syntax of the
user
command: user (keyword) +
space +
username
2.2.26 rmdir
Syntax
rmdir
directory
View
FTP client view
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
the subdirectory 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, the files in the remote recycle bin under the
directory will be automatically deleted.
Examples
# Delete the flash:/temp1 directory from the FTP server.
[ftp] rmdir flash:/temp1
200 RMD command successful.
2.2.27 user
Syntax
user
username
[
password
]
View
FTP client view