To do...
Working with SFTP directories
SFTP directory operations include:
Changing or displaying the current working directory
•
•
Displaying files under a directory or the directory information
Changing the name of a 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 directory
Change the name of a 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
Use the command...
sftp ipv6 server [ port-number ]
[ identity-key { dsa | rsa } |
Establish a
prefer-ctos-cipher { 3des | aes128
connection to
| des } | prefer-ctos-hmac { md5 |
the remote IPv6
md5-96 | sha1 | sha1-96 } |
SFTP server and
prefer-kex { dh-group-exchange |
enter SFTP client
dh-group1 | dh-group14 } |
view
prefer-stoc-cipher { 3des | aes128
| des } | prefer-stoc-hmac { md5 |
md5-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>
298
Remarks
Remarks
Required
Execute the command in user view.
Optional
Optional
Optional
Optional
The dir command functions as the
ls command.
Optional
Optional
Optional