3Com Switch 8800 Family Configuration Guide
SFTP Service 785
n
■ The dir command and the ls command have the same functionality.
■ The delete command and the remove command have the same functionality.
Displaying help information
Use this command to display command-relevant help information such as the
format of the command, parameter configurations, and so on.
Perform the following configuration in SFTP client view.
SFTP Configuration
Example
Network requirements
As shown in Figure 184:
■ Switch A is used as the SFTP server, and its IP address is 10.111.27.91;
■ Switch B is used as the SFTP client;
■ An SFTP user is configured with the username "8040" and password "3com".
Network diagram
Figure 184 Network diagram for SFTP
Tab le 738 SFTP file operations
Operation Command
Change the name of the specified file on the
server
rename old-name new-name
Download a file from the remote server get remote-file [ local-file ]
Upload a local file to the remote server put local-file [ remote-file ]
Display the list of files in the specified
directory
dir [ remote-path ]
ls [ remote-path ]
Delete a file from the server
delete remote-file
remove remote-file
Tab le 739 Display help information for client commands
Operation Command
Display help information for client commands help [ command-name ]
PC
IP address
SFTP client
Switch B
SFTP server
Switch A
PC
IP address
10.111.27.91
Switch B
Switch A