< Home

delete(FTP client view)

Function

The delete command deletes a specified file.

Format

delete remote-filename

Parameters

Parameter Description Value

remote-filename

Specifies the file name.

The value is a string of 1 to 64 characters.

Views

FTP client view

Default Level

3: Management level

Usage Guidelines

The file that is deleted by running the command in the FTP client view cannot be restored.

Example

# Delete temp.c.

<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] delete temp.c
Warning: File temp.c will be deleted into the recycle bin. Continue? [Y/N]: y
250 DELE command successful.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >