Ipsec tunnel establishment, Implementing acl-based ipsec, Feature restrictions and guidelines – H3C Technologies H3C S12500-X Series Switches User Manual

Page 193: Working with sftp files, Displaying help information

Advertising
background image

181

Task Command

Remarks

Return to the upper-level directory. cdup

Available in SFTP client view.

Display the current working
directory on the SFTP server.

pwd

Available in SFTP client view.

Display files under a directory.

dir [ -a | -l ] [ remote-path ]

ls [ -a | -l ] [ remote-path ]

Available in SFTP client view.
The dir command functions as the
ls command.

Change the name of a directory on
the SFTP server.

rename oldname newname

Available in SFTP client view.

Create a new directory on the SFTP
server.

mkdir remote-path

Available in SFTP client view.

Delete one or more directories from
the SFTP server.

rmdir remote-path

Available in SFTP client view.

278B

Working with SFTP files

Task Command

Remarks

Change the name of a file on the
SFTP server.

rename old-name new-name

Available in SFTP client view.

Download a file from the remote
server and save it locally.

get remote-file [ local-file ]

Available in SFTP client view.

Upload a local file to the SFTP
server.

put local-file [ remote-file ]

Available in SFTP client view.

Display the files under a directory.

dir [ -a | -l ] [ remote-path ]

ls [ -a | -l ] [ remote-path ]

Available in SFTP client view.
The dir command functions as the
ls command.

Delete one or more directories from
the SFTP server.

delete remote-file

remove remote-file

Available in SFTP client view.
The delete command functions as
the remove command.

279B

Displaying help information

This configuration task displays the help information of an SFTP client command, such as the command
format and parameters.
To display the help information:

Task Command

Remarks

Display the help information of an
SFTP client command.

help

?

Use either command.
Available in SFTP client view.
These two commands function in

the same way.

Advertising