R3102-R3103-HP 6600/HSR6600 Routers Fundamentals Command Reference
67
FTP: 3608 byte(s) received in 2.050 second(s), 1.00K byte(s)/sec.
# Download file testcfg.cfg to the root directory of the storage medium on the standby MPU (in slot 1),
and save it as newest.cfg.
[ftp] get testcfg.cfg slot1#cfa0:/newest.cfg
227 Entering Passive Mode (192,168,1,46,4,48).
125 ASCII mode data connection already open, transfer starting for /testcfg.cfg.
226 Transfer complete.
FTP: 3608 byte(s) received in 2.322 second(s), 1.00K byte(s)/sec.
lcd
Use lcd to display the local working directory of the FTP client.
Syntax
lcd
Views
FTP client view
Default command level
3: Manage level
Examples
# Display the local working directory.
[ftp] lcd
FTP: Local directory now cfa0:/clienttemp.
The output shows that the working directory of the FTP client before execution of the ftp command is
cfa0:/clienttemp.
ls
Use ls to list files and subdirectories in the current directory of the FTP server.
Use ls remotefile to list files under a specific subdirectory or verify the existence of a file in the current
directory of the FTP server.
Use ls remotefile localfile to save the name of a file or the list of files under a specific subdirectory to a
local file.
Syntax
ls [ remotefile [ localfile ] ]
Views
FTP client view
Default command level
3: Manage level
Parameters
remotefile: Filename or directory on the remote FTP server.
localfile: Name of a local file used to save the displayed information.










