R3102-R3103-HP 6600/HSR6600 Routers Security Command Reference
370
Examples
# Create a directory named test on the SFTP server.
sftp-client> mkdir test
New directory created
put
Use put to upload a local file to an SFTP server.
Syntax
put local-file [ remote-file ]
Views
SFTP client view
Default command level
3: Manage level
Parameters
local-file: Specifies the name of a local file.
remote-file: Specifies the name for the file on an SFTP server.
Usage guidelines
If you do not specify the remote-file argument, the file will be saved remotely with the same name as the
local one.
Examples
# Upload local file temp.c to the SFTP server and save it as temp1.c.
sftp-client> put temp.c temp1.c
Local file:temp.c ---> Remote file: /temp1.c
Uploading file successfully ended
pwd
Use pwd to display the current working directory of an SFTP server.
Syntax
pwd
Views
SFTP client view
Default command level
3: Manage level
Examples
# Display the current working directory of the SFTP server.
sftp-client> pwd
/










