R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

236
localfile: File name used after a file is downloaded and saved locally. If this argument is not specified, the
local file uses the name of the source file on the FTP server by default.
Description
Use get to download a file from a remote FTP server and save it.
Examples
# Download file testcfg.cfg and save it as aa.cfg.
[ftp] get testcfg.cfg aa.cfg
227 Entering Passive Mode (192,168,1,50,17,163).
125 ASCII mode data connection already open, transfer starting for /testcfg.cfg.
.....226 Transfer complete.
FTP: 5190 byte(s) received in 7.754 second(s), 669.00 byte(s)/sec.
lcd
Syntax
lcd
View
FTP client view
Default level
3: Manage level
Parameters
None
Description
Use lcd to display the local working directory of the FTP client.
Examples
# Display the local working directory.
[ftp] lcd
FTP: Local directory now flash0:/clienttemp.
The output shows that the working directory of the FTP client before execution of the ftp command is
flash0:/clienttemp.
ls
Syntax
ls [ remotefile [ localfile ] ]
View
FTP client view
Default level
3: Manage level