3com 5500-ei pwr Reference Guide
1-32
Examples
# Create a directory named hj on the remote SFTP server.
sftp-client>mkdir hj
Received status: Success
New directory created
put
Syntax
put local-file [ remote-file ]
View
SFTP client view
Parameters
local-file: Name of a local file.
remote-file: Name of a file on the remote SFTP server.
Description
Use the put command to upload a local file to the remote SFTP server.
By default, the local file name is used for the remote file if no remote file name is specified.
Examples
# Upload the file named config.cfg to the remote SFTP server and save it as 1.txt.
sftp-client>put config.cfg 1.txt
This operation may take a long time, please wait...
Local file:config.cfg ---> Remote file: /1.txt
Received status: Success
Uploading file successfully ended
pwd
Syntax
pwd
View
SFTP client view
Parameters
None
Description
Use the pwd command to display the working directory on the remote SFTP server.
Examples
# Display the working directory on the remote SFTP server.