View
FTP client view
Default level
3: Manage level
Parameters
remotefile: Name of the file to be downloaded.
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 to the root directory of the master's storage medium, 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.
# Download file testcfg.cfg to the Flash root directory of the subordinate device with the member ID 2,
and save it as newest.cfg.
[ftp] get testcfg.cfg slot2#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 lcd to display the local working directory of the FTP client.
69