HPE D6020 Maintenance And Service Manual page 133

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

Syntax
get remotefile [ localfile ]
Views
FTP client view
Predefined user roles
network-admin
Parameters
remotefile: Specifies the file to be downloaded.
localfile: Specifies a name for the downloaded file. If you do not specify this argument, the system
uses the name of the source file.
Usage guidelines
You can perform this operation only after you log in to the FTP server.
To save the downloaded file to the working directory accessed by the ftp command, perform one of
the following tasks:
Execute the command without specifying the localfile argument.
Specify a file name without any path information for the localfile argument, for example, a.cfg.
To save the downloaded file to some other directory, you must specify a fully qualified file name for
the localfile argument, for example, flash:/subdirectory/a.cfg.
Examples
# Download a file to the local working directory. Save the file as b.txt.
ftp> get a.txt b.txt
local: b.txt remote: a.txt
150 Connecting to port 47457
226 File successfully transferred
1569 bytes received in 0.00527 seconds (290.6 kbyte/s)
# Download a file to a subdirectory of the local working directory. Save the file as b.txt.
ftp> get a.txt flash:/test/b.txt
local: flash:/test/b.txt remote: a.txt
150 Connecting to port 47457
226 File successfully transferred
1569 bytes received in 0.00527 seconds (290.6 kbyte/s)
# (Distributed devices in standalone mode.) Download a file to the root directory of the flash memory
on the standby MPU (in slot 1). Save the file as c.txt.
ftp> get a.txt slot1#flash:/c.txt
local: slot1#flash:/c.txt remote: a.txt
150 Connecting to port 47460
226 File successfully transferred
1569 bytes received in 0.0564 seconds (27.2 kbyte/s)
# (Centralized devices in IRF mode.) Download a file to the root directory of the flash memory on
member device 1. Save the file as c.txt.
ftp> get a.txt slot1#flash:/c.txt
local: slot1#flash:/c.txt remote: a.txt
150 Connecting to port 47460
226 File successfully transferred
1569 bytes received in 0.0564 seconds (27.2 kbyte/s)
125

Advertisement

Table of Contents
loading

Table of Contents