![H3C S5120-SI Series Скачать руководство пользователя страница 472](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174472.webp)
2-4
Working with SFTP Files
SFTP file operations include:
z
Changing the name of a file
z
Downloading a file
z
Uploading a file
z
Displaying a list of the files
z
Deleting a file
Follow these steps to work with SFTP files:
To do…
Use the command…
Remarks
Enter SFTP client view
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
} ] *
Required
Execute the command in user
view.
Change the name of a specified
file or directory on the SFTP
server
rename
old-name new-name
Optional
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 a file 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:
Содержание S5120-SI Series
Страница 61: ...7 8 Sysname ip http acl 2030...
Страница 138: ...2 10 PORT VLAN MODE GigabitEthernet1 0 1 2 MANUAL...
Страница 186: ...1 46 Instance Vlans Mapped 0 1 to 9 11 to 19 21 to 29 31 to 4094 1 10 2 20 3 30...
Страница 218: ...ii Displaying and Maintaining BOOTP Client Configuration 4 2 BOOTP Client Configuration Example 4 3...
Страница 255: ...1 12...
Страница 381: ...ii Troubleshooting RADIUS 1 32...
Страница 577: ...1 8 Return to the upper directory Sysname cd Display the current working directory Sysname pwd flash...