delete (FTP client view)

Function

The delete command deletes the corresponding file from the FTP server.

Format

delete remote-filename

Parameters

Parameter Description Value
remote-filename

Specifies the file that needs to be deleted from FTP server.

The value is a string of 1 to 128 case-insensitive characters without a blank space.

Views

FTP client view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ftp-client execute

Usage Guidelines

The permission to delete the file completely depends on the access rights configuration on the remote server system. By executing the dir command displays the list of directories and files in the specified directory.

You cannot restore the deleted file.

Example

# Delete the remote file name as temp.txt
<HUAWEI> ftp 1.1.1.1
[ftp] delete temp.txt
Warning: File temp.txt will be deleted. Continue? [Y/N]:y
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >