61
# Download file
testcfg.cfg
to the root directory of the storage medium of a standby MPU (the ID of the
IRF member switch where the standby MPU resides is 2, and the slot number of the standby MPU is 1),
and save it as
newest.cfg
.
[ftp] get testcfg.cfg chassis2#slot1#flash:/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
Syntax
lcd
View
FTP client view
Default level
3: Manage level
Parameters
None
Description
Use the
lcd
command to display the local working directory of the FTP client.
Examples
# Display the local working directory.
[ftp] lcd
FTP: Local directory now flash:/clienttemp.
The output shows that the working directory of the FTP client before execution of the
ftp
command is
flash:/clienttemp
.
ls
Syntax
ls
[
remotefile
[
localfile
] ]
View
FTP client view
Default 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.