Cdup; Delete; Dir - H3C MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

cdup

Use cdup to return to the upper-level directory.
Syntax
cdup
Views
SFTP client view
Predefined user roles
network-admin
Example
# Return to the upper-level directory from the current working directory /test1.
sftp> cd test1
Current Directory is:/test1
sftp> pwd
Remote working directory: /test1
sftp> cdup
Current Directory is:/
sftp> pwd
Remote working directory: /
sftp>

delete

Use delete to delete a file from the SFTP server.
Syntax
delete remote-file
Views
SFTP client view
Predefined user roles
network-admin
Parameters
remote-file: Specifies a file by its name.
Usage guidelines
This command has the same function as the remove command.
Examples
# Delete the file temp.c from the SFTP server.
sftp> delete temp.c
Removing /temp.c

dir

Use dir to display information about the files and subdirectories under a directory.
693

Advertisement

Table of Contents
loading

Table of Contents