beautypg.com

Displaying help information – H3C Technologies H3C S7500E Series Switches User Manual

Page 235

background image

12-5

To do…

Use the command…

Remarks

Download a file from the remote

server and save it locally

get remote-file [ local-file ]

Optional

Upload a local file to the remote

SFTP server

put local-file [ remote-file ]

Optional

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

Display the files under a specified

directory

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

Optional

The dir command functions as the

ls command.

delete remote-file&<1-10>

Delete one or more directories

from the SFTP server

remove remote-file&<1-10>

Optional

The delete command functions as

the remove command.

Displaying Help Information

This configuration task is to display a list of all commands or the help information of an SFTP client

command, such as the command format and parameters.

Follow these steps to display a list of all commands or the help information of an SFTP client

command:

To do…

Use the command…

Remarks

Enter SFTP client view

For more information, see

Establishing a Connection to the

SFTP Server

Required

Execute the command in user

view.

Display a list of all commands or

the help information of an SFTP

client command

help [ all | command-name ]

Required

Terminating the Connection to the Remote SFTP Server

Follow these steps to terminate the connection to the remote SFTP server:

To do…

Use the command…

Remarks

Enter SFTP client view

For more information, see

Establishing a Connection to the

SFTP Server

Required

Execute the command in user

view.

bye

Terminate the connection to the

remote SFTP server and return to

exit

Required.

Use any of the commands.