Working With Sftp Directories; Working With Sftp Files - HP 5120 EI Switch Series Configuration Manual

Hide thumbs Also See for 5120 EI Switch Series:
Table of Contents

Advertisement

To do...

Working with SFTP directories

SFTP directory operations include:
Changing or displaying the current working directory
Displaying files under a specified directory or the directory information
Changing the name of a specified directory on the server
Creating or deleting a directory
Follow these steps to work with the SFTP directories:
To do...
Enter SFTP client view
Change the working directory of
the remote SFTP server
Return to the upper-level directory
Display the current working
directory of the remote SFTP
server
Display files under a specified
directory
Change the name of a specified
directory on the SFTP server
Create a new directory on the
remote SFTP server
Delete one or more directories
from the SFTP server

Working with SFTP files

SFTP file operations include:
Changing the name of a file
Downloading a file
Uploading a file
Use the command...
sftp ipv6 server [ port-number ] [ identity-key { dsa |
Establish a
rsa } | prefer-ctos-cipher { 3des | aes128 | des } |
connection to
prefer-ctos-hmac { md5 | md5-96 | sha1 | sha1-
the remote IPv6
96 } | prefer-kex { dh-group-exchange | dh-
SFTP server
group1 | dh-group14 } | prefer-stoc-cipher { 3des
and enter SFTP
| aes128 | des } | prefer-stoc-hmac { md5 | md5-
client view
96 | sha1 | sha1-96 } ] *
Use the command...
For more information, see
―Establishing a connection to the
SFTP
server.‖
cd [ remote-path ]
cdup
pwd
dir [ -a | -l ] [ remote-path ]
ls [ -a | -l ] [ remote-path ]
rename oldname newname
mkdir remote-path
rmdir remote-path&<1-10>
Remarks
Required
Execute the command in user
view.
Optional
Optional
Optional
Optional
The dir command functions as the
ls command.
Optional
Optional
Optional
233
Remarks

Advertisement

Table of Contents
loading

Table of Contents