Working With Sftp Files; Displaying Help Information - H3C S5120-SI Series Operation Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Working with SFTP Files

SFTP file operations include:
Changing the name of a file
Downloading a file
Uploading a file
Displaying a list of the files
Deleting a file
Follow these steps to work with SFTP files:
To do...
Enter SFTP client view
Change the name of a specified
file or directory on the SFTP
server
Download a file from the
remote server and save it
locally
Upload a local file to the remote
SFTP server
Display the files under a
specified directory
Delete a file from the SFTP
server

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:
Use the command...
sftp server [ port-number ]
[ identity-key { dsa | rsa } |
prefer-ctos-cipher { 3des |
aes128 | des } |
prefer-ctos-hmac { md5 |
md5-96 | sha1 | sha1-96 } |
prefer-kex
{ dh-group-exchange |
dh-group1 | dh-group14 } |
prefer-stoc-cipher { 3des |
aes128 | des } |
prefer-stoc-hmac { md5 |
md5-96 | sha1 | sha1-96 } ] *
rename old-name new-name
get remote-file [ local-file ]
put local-file [ remote-file ]
dir [ -a | -l ] [ remote-path ]
ls [ -a | -l ] [ remote-path ]
delete remote-file&<1-10>
remove remote-file&<1-10>
2-4
Remarks
Required
Execute the command in user
view.
Optional
Optional
Optional
Optional
The dir command functions as
the ls command.
Optional
The delete command functions
as the remove command.

Advertisement

Table of Contents
loading

Table of Contents