< Home

delete (FTP client view)

Function

The delete command deletes a file from the FTP server.

Format

delete remote-filename

Parameters

Parameter Description Value
remote-filename Specifies the name of a file to be deleted. The value is a string of 1 to 64 case-insensitive characters without spaces.

Views

FTP client view

Default Level

3: Management level

Usage Guidelines

A file deleted in the FTP client view cannot be restored.

Example

# Delete the file temp.c.

<HUAWEI> ftp 10.137.217.201
Trying 10.137.217.201 ...
Press CTRL+K to abort
Connected to 10.137.217.201.
220 FTP service ready.
User(10.137.217.201:(none)):huawei
331 Password required for huawei.
Enter password:
230 User logged in. 
[ftp] delete temp.c
Warning: File temp.c will be deleted. Continue? [Y/N]: y 
250 DELE command successfully.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >