F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Configuration Guide-6PW100
173
288BWorking 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
To work with the SFTP directories:
Ste
p
Command
Remarks
1. Enter SFTP client view.
For more information, see
"
892H
Establishing a connection to an
SFTP server."
N/A
2. Change the working directory
of the remote SFTP server.
cd [ remote-path ] Optional.
3. Return to the upper-level
directory.
cdup Optional.
4. Display the current working
directory on the SFTP server.
pwd Optional.
5. Display files under a specified
directory.
• dir [ -a | -l ] [ remote-path ]
• ls [ -a | -l ] [ remote-path ]
Optional.
The dir command functions as the
ls command.
6. Change the name of a
specified directory on the
SFTP server.
rename oldname newname Optional.
7. Create a new directory on the
SFTP server.
mkdir remote-path Optional.
8. Delete one or more directories
from the SFTP server.
rmdir remote-path&<1-10> Optional.
289BWorking 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
To work with SFTP files:
Ste
p
Command
Remarks
1. Enter SFTP client view.
For more information, see
"
893H
Establishing a connection to an
SFTP server."
N/A