Iv. performing sftp file operations, V. displaying help information – H3C Technologies H3C S3100 Series Switches User Manual
Page 513

Operation Manual – SSH Terminal Service
H3C S3100-52P Ethernet Switch
Chapter 1 SSH Terminal Service
1-27
Operation
Command
Description
dir
[ remote-path ]
Display the file list of a
directory
ls
[ 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
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 1-19
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
[ remote-path ]
Display the file list of a
directory
ls
[ remote-path ]
Optional
The dir and ls commands
have the same function.
delete remote-file
Delete a file from the
SFTP server
remove remote-file
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.