
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
[
ipv6
]
server
[
port-number
]
[
identity-key
{
dsa
|
rsa
} |
prefer-ctos-cipher
{
aes128
|
des
} |
prefer-ctos-hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} |
prefer-kex
{
dh-group-exchange
|
dh-group1
|
dh-group14
} |
prefer-stoc-cipher
{
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:
To do…
Use the command…
Remarks
Enter SFTP client view
sftp
[
ipv6
]
server
[
port-number
]
[
identity-key
{
dsa
|
rsa
} |
prefer-ctos-cipher
{
aes128
|
des
} |
prefer-ctos-hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} |
prefer-kex
{
dh-group-exchange
|
dh-group1
|
dh-group14
} |
prefer-stoc-cipher
{
aes128
|
des
} |
prefer-stoc-hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} ] *
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
Содержание S5120-EI Series
Страница 139: ...ii...
Страница 268: ...3 3 SwitchB system view SwitchB interface vlan interface 1 SwitchB Vlan interface1 ip address dhcp alloc...
Страница 328: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1...
Страница 578: ...1 21 C...
Страница 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Страница 926: ...2 8...
Страница 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Страница 985: ...1 1...
Страница 1018: ...1 6...