< Home

rmdir (FTP client view)

Function

The rmdir command deletes the specified directory on the FTP server.

Format

rmdir remote-directory

Parameters

Parameter Description Value

remote-directory

Specifies the directory name on the remote FTP server.

The value is a string ranging from 1 to 64 characters.

Views

FTP client view

Default Level

3: Management level

Usage Guidelines

After the command is run, the directory on the FTP server instead of that on the FTP client is deleted that on the FTP client.

Example

# Delete the d:/temp1 directory on the FTP server.

<sysname> ftp 10.1.1.1
Trying 10.1.1.1...
Press CTRL+K to abort
Connected to 10.1.1.1.
220 FTP service ready.
User (10.1.1.1: (none)):ftpuser
331 Password required for ftpuser
Enter password:
230 User logged in.  
[ftp] rmdir d:/temp1
200 RMD command successful.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >