Command Manual –SSH Terminal Service
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 SSH Terminal Service
Configuration Commands
Huawei Technologies Proprietary
1-32
Description
Use the
cdup
command to return the current path on the remote SFTP server to the
upper directory.
Example
# Return to the upper directory.
sftp-client> cdup
Current Directory is:
flash:/
1.4.4 delete
Syntax
delete remote-file
View
SFTP Client view
Parameter
remote-file
: Name of a file on the server.
Description
Use the
delete
command to delete the specified file from the remote SFTP server.
This command has the same function as the
remove
command.
Example
# Delete file test.txt from the server.
sftp-client> delete test.txt
The followed File will be deleted:
Flash:/test.txt
Are you sure to delete it?(Y/N):y
This operation may take a long time.Please wait...
File successfully Removed
1.4.5 dir
Syntax
dir
[
remote-path
]