Operation Manual – SSH Terminal Service
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 2
SFTP Service
2-5
Operation Command Description
dir [ -a | -l ] [ remote-path ]
Display the file list of a
directory
ls [ -a | -l ] [ remote-path ]
Optional
The dir and ls commands
have the same function.
Create a directory on the
SFTP server
mkdir remote-path
Delete a directory from
the SFTP server
rmdir
remote-path&<1-10>
Optional
IV. Performing SFTP file operations
SFTP file operations include: renaming a file, downloading a file, uploading a file,
displaying the file list, and deleting a file.
Table 2-8 Performing SFTP file operations
Operation Command Description
Enter system view
system-view
Enter SFTP client view
sftp { host-ip |
host-name }
Rename a file on the
remote SFTP server
rename old-name
new-name
Download a file from the
remote SFTP server
get remote-file [ local-file ]
Upload a file to the remote
SFTP server
put local-file [ remote-file ]
Optional
dir [ -a | -l ] [ remote-path ]
Display the file list of a
directory
ls [ -a | -l ] [ remote-path ]
Optional
The dir and ls commands
have the same function.
delete
remote-file&<1-10>
Delete a file from the
SFTP server
remove
remote-file&<1-10>
Optional
The delete and remove
commands have the
same function.
V. Displaying help information
You can use the command here to display help information (such as syntax and
parameters) about an SFTP client command.