Put; Pwd - HP 6125XLG Command Reference Manual

Blade switch security command reference
Table of Contents

Advertisement

Parameters
remote-path: Specifies the name for the directory on an SFTP server
Examples
# Create a directory named test on the SFTP server.
sftp> mkdir test

put

Use put to upload a local file to an SFTP server.
Syntax
put local-file [ remote-file ]
Views
SFTP client view
Predefined user roles
network-admin
Parameters
local-file: Specifies the name of a local file.
remote-file: Specifies the name of a file on an SFTP server. If this argument is not specified, the file will be
remotely saved with the same name as the local one.
Examples
# Upload the local file startup.bak to the SFTP server and save it as startup01.bak.
sftp> put startup.bak startup01.bak
Uploading startup.bak to /startup01.bak
startup01.bak

pwd

Use pwd to display the current working directory of an SFTP server.
Syntax
pwd
Views
SFTP client view
Predefined user roles
network-admin
Examples
# Display the current working directory of the SFTP server.
sftp> pwd
Remote working directory: /
The output shows that the current working directory is the root directory.
100% 1424
178
1.4KB/s
00:00

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents