H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – SSH Terminal Service
H3C S7500 Series Ethernet Switches
Chapter 1 SSH Terminal Service
Configuration Commands
1-33
1.4.11 put
Syntax
put local-file [ remote-file ]
View
SFTP client view
Parameters
local-file: Name of the local source file.
remote-file: Name assigned to the file to be saved on the remote SFTP server.
Description
Use the put command to upload a local file to the remote SFTP server.
If no name is specified for the file to be saved on the remote SFTP server, the name of
the source file is used.
Examples
# Upload local file config.cfg to the remote SFTP server and save it with the name
1.txt.
sftp-client>put temp.c config.cfg 1.txt
Local file:config.cfg ---> Remote file: flash:/1.txt
Uploading file successfully ended
1.4.12 pwd
Syntax
pwd
View
SFTP client view
Parameters
None
Description
Use the pwd command to display the current directory on the remote SFTP server.
Examples
# Display the current directory on the remote SFTP server.
sftp-client> pwd