2388 CHAPTER 158: FTP CLIENT CONFIGURATION COMMANDS
rmdir
Syntax rmdir directory
View FTP client view
Parameter 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:
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 “delete” on page 2352.
After you execute the rmdir command, the files in the remote recycle bin
under the directory will be automatically deleted.
Example # Delete the cf:/temp1 directory from the FTP server.
[ftp] rmdir cf:/temp1
200 RMD command successful.
user
Syntax user username [password ]
View FTP client view
NLST List file description
SITE* Orient a parameter
SYST Display system parameters
STAT* State
HELP Help
NOOP* No operation
XCUP Extension command, the same meaning as CUP
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 <sp>
<username>. Syntax of the user command: user (keyword) + space +
username
Table621 Description on the fields of the remotehelp command
Field Description