FTP Client Commands 327
<SW4500>ftp 1.1.1.1
Trying ...
Press CTRL+K to abort
Connected.
220 FTP service ready.
User(none):hello
331 Password required for hello.
Password:
230 User logged in
[ftp]lcd
% Local directory now flash:/temp
[ftp]
ls Syntax
ls [ remotefile [ localfile ]]
View
FTP Client view
Parameter
remotefile: Remote file to be queried.
localfile: Saved local file name.
Description
Use the ls command to query a specified file.
If no parameter is specified, all the files will be shown.
Example
Query file temp.c
<SW4500>ftp 1.1.1.1
Trying ...
Press CTRL+K to abort
Connected.
220 FTP service ready.
User(none):hello
331 Password required for hello.
Password:
230 User logged in
[ftp]ls temp.c
200 Port command okay.
150 Opening ASCII mode data connection for temp.c.
temp.c
226 Transfer complete.
FTP: 8 byte(s) received in 0.133 second(s) 60.00byte(s)/sec.
[ftp]
mkdir Syntax
mkdir pathname
View
FTP Client view