Examples
# Download file temp.c.
[ftp] get temp.c
227 Entering Passive Mode (2,2,2,2,4,12).
125 ASCII mode data connection already open, transfer starting for temp.c.
..226 Transfer complete.
FTP: 15 byte(s) received in 2.568 second(s) 0.00 byte(s)/sec.
lcd
Syntax
lcd
View
FTP client view
Parameters
None
Description
Use the lcd command to display the local working directory on the FTP client. If you have logged in to
the FTP server, you cannot modify the local working directory of the FTP client; to modify the local
working directory, you need to terminate the connection with the FTP server, quit FTP client view,
execute the cd command in user view, and reconnect to the FTP server.
Examples
# Display the local working directory on the FTP client.
[ftp] lcd
% Local directory now flash:/temp
ls
Syntax
ls [ remotefile [ localfile ] ]
View
FTP client view
Parameters
remotefile: Name of the file to be queried.
localfile: Name of the local file where the querying result is to be saved.
Description
Use the ls command to display the information about a specified file on an FTP server.
If you do not specify the remotefile argument, names of all the files in the current remote directory are
displayed.
1-17