3Com Switch 7750 Configuration Guide

SFTP Service 787
Operating with SFTP directories
SFTP directory-related operations include: changing or displaying the current
directory, creating or deleting a directory, displaying files or information of a
specific directory.
Operating with SFTP files
SFTP file-related operations include: changing file name, downloading files,
uploading files, displaying the list of the files, deleting files.
Displaying help information
You can display help information about a command, such as syntax and
parameters.
Table 623 Operate with SFTP directories
Operation Command Description
Enter system view system-view Optional
Enter SFTP client view sftp { host-ip | host-name }
Change the current directory cd [ remote-path ]
Return to the upper directory cdup
Display the current directory pwd
Display the list of the files in a
directory
dir [ -a | -l ] [ remote-path ] Optional
The dir and ls commands
have the same function.
ls [ -a | -l ] [ remote-path ]
Create a directory on the SFTP
server
mkdir remote-path Optional
Delete a directory from the
SFTP server
rmdir remote-path&<1-10>
Table 624 Operate with SFTP files
Operation Command Description
Enter system view system-view Optional
Enter SFTP client view sftp { host-ip | host-name }
Rename a file or directory on
the 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 ]
Display the list of the files in a
directory
dir [ -a | -l ] [ remote-path ] Optional
The dir and ls commands
have the same function.
ls [ -a | -l ] [ remote-path ]
Delete a file from the SFTP
server
delete remote-file&<1-10> Optional
The delete and remove
commands have the same
function.
remove remote-file&<1-10>
Table 625 Display help information about SFTP client commands
Operation Command Description
Enter system view system-view -