Step
7.
Create a new directory on the
remote SFTP server.
8.
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
Displaying a list of the files
•
Deleting a file
•
To work with SFTP files:
Step
1.
Enter SFTP client view.
2.
Change the name of a file on
the SFTP server.
3.
Download a file from the
remote server and save it
locally.
4.
Upload a local file to the
remote SFTP server.
5.
Display the files under a
directory.
6.
Delete one or more directories
from the SFTP server.
Displaying help information
This configuration task will display a list of all commands or the help information of an SFTP client
command, such as the command format and parameters.
To display a list of all commands or the help information of an SFTP client command:
Step
1.
Enter SFTP client view.
Command
mkdir remote-path
rmdir remote-path&<1-10>
Command
For more information, see
"Establishing a connection to the
SFTP
server."
rename old-name new-name
get remote-file [ local-file ]
put local-file [ remote-file ]
•
dir [ -a | -l ] [ remote-path ]
•
ls [ -a | -l ] [ remote-path ]
•
delete remote-file&<1- 1 0>
•
remove remote-file&<1- 1 0>
Command
For more information, see
"Establishing a connection to the
SFTP
server."
204
Remarks
Optional.
Optional.
Remarks
Execute the command in user view.
Optional.
Optional.
Optional.
Optional.
The dir command functions as the
ls command.
Optional.
The delete command functions as
the remove command.
Remarks
Execute the command in user view.