< Home

remove (SFTP client view)

Function

The remove command deletes a specified file on the server.

Format

remove remote-filename &<1-10>

Parameters

Parameter Description Value

remote-filename

Specifies the file on the SFTP server.

The value is a character string. The absolute path of the file ranges from 1 to 64 characters.

Views

SFTP client view

Default Level

2: Configuration level

Usage Guidelines

You can delete up to a maximum of 10 files at a time.

Example

# Delete the file wm.cfg on the server.

<sysname> system-view
[sysname] sftp 10.1.1.1 
Please input the username:client001
Trying 10.1.1.1 ...
Press CTRL+K to abort
Enter password:   
sftp-client> remove wm.cfg
Warning: Make sure to remove it? [Y/N]: y
Info: Succeeded in removing the file hda1:/wm.cfg.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >