R3303-HP HSR6800 Routers Fundamentals Command Reference

67
FTP: 3608 byte(s) received in 2.322 second(s), 1.00K byte(s)/sec.
# In IRF mode, download file testcfg.cfg to the root directory of the storage medium on the global active
MPU, and save it as newest.cfg.
[ftp] get testcfg.cfg newest.cfg
227 Entering Passive Mode (192,168,1,46,4,47).
125 ASCII mode data connection already open, transfer starting for /testcfg.cfg.
..226 Transfer complete.
FTP: 3608 byte(s) received in 2.050 second(s), 1.00K byte(s)/sec.
# In IRF mode, download file testcfg.cfg to the CF root directory of the standby MPU that resides in slot
1 of member device 2, and save it as newest.cfg.
[ftp] get testcfg.cfg chassis2#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 ] ]