Put - HPE D6020 Maintenance And Service Manual

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

put

Use put to upload a file from the FTP client to the FTP server.
Syntax
put localfile [ remotefile ]
Views
FTP client view
Predefined user roles
network-admin
Parameters
localfile: Specifies the local file to be uploaded.
remotefile: Specifies the name of the file for saving the uploaded file on the FTP server.
Usage guidelines
You can perform this operation only after you log in to the FTP server.
To upload a file in the current working directory, specify a file name without the path for the localfile
argument, for example, a.cfg.
To upload a file in some other directory, specify a fully qualified file name for the localfile argument,
for example, flash:/subdirectory/a.cfg.
Examples
# Upload a file from the local working directory to the FTP server. Save the file as b.txt.
ftp> put a.txt b.txt
local: a.txt remote: b.txt
150 Connecting to port 47461
226 File successfully transferred
1569 bytes sent in 0.000671 seconds (2.23 Mbyte/s)
# Upload a file from a subdirectory of the local working directory to the FTP server. Save the file as
b.txt.
ftp> put flash:/test/a.txt b.txt
local: flash:/test/a.txt remote: b.txt
150 Connecting to port 47461
226 File successfully transferred
1569 bytes sent in 0.000671 seconds (2.23 Mbyte/s)
# (Distributed devices in standalone mode.) Upload a file from the standby MPU (in slot 1) to the FTP
server. Save the file as b.txt.
ftp> put slot1#flash:/test/a.txt b.txt
local: slot1#flash:/test/a.txt remote: b.txt
150 Connecting to port 47461
226 File successfully transferred
1569 bytes sent in 0.000671 seconds (2.23 Mbyte/s)
# (Centralized devices in IRF mode.) Upload a file from member device 2 to the FTP server. Save the
file as b.txt.
ftp> put slot2#flash:/test/a.txt b.txt
local: slot2#flash:/test/a.txt remote: b.txt
150 Connecting to port 47461
131

Advertisement

Table of Contents
loading

Table of Contents