Put; Pwd - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Parameters
remote-path: Name of a directory on the remote SFTP server.
Description
Use the mkdir command to create a directory on the remote SFTP server.
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 --->
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.
Remote file: /1.txt
1-25

Advertisement

Table of Contents
loading

Table of Contents