101
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
rstatus
Use
rstatus
to display FTP server status.
Use
rstatus
remotefile
to display detailed information about a specific directory or file on the FTP server.
Syntax
rstatus
[
remotefile
]
Views
FTP client view
Predefined user roles
network-admin
Parameters
remotefile
: Specifies a directory or file on the FTP server.
Usage guidelines
You can perform this operation only after you log in to the FTP server.
Support for this command varies with FTP servers.
Examples
# Display FTP server status.
ftp> rstatus
211-FTP server status:
Connected to 192.168.20.177
Logged in as root
TYPE: ASCII
No session bandwidth limit
Session timeout in seconds is 300
Control connection is plain text
Data connections will be plain text
At session startup, client count was 1
vsFTPd 2.0.6 - secure, fast, stable