C:\Documents and Settings\Administrator>ftp
ftp> open
To 100.123.2.1
Connected to 100.123.2.1.
220 Microsoft FTP Service
User (192.168.1.103:(none)): testUser
331 Password required for testUser.
Password:
230 User testUser logged in.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
06-21-12 03:11PM <DIR> 1
07-16-12 12:04AM <DIR> test
226 Transfer complete.
ftp: 收到 373 字节,用时 0.00Seconds 373000.00Kbytes/sec.
ftp> put d:\1.jpg
200 PORT command successful.
150 Opening ASCII mode data connection for 1.jpg.
226 Transfer complete.
ftp: 发送 99901 字节,用时 0.02Seconds 6243.81Kbytes/sec.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
06-21-12 03:11PM <DIR> 1
09-28-12 12:59AM 99901 1.jpg
07-16-12 12:04AM <DIR> test
226 Transfer complete.
ftp: 收到 419 字节,用时 0.00Seconds 419000.00Kbytes/sec.
ftp> mget *.jpg
200 Type set to A.
mget 1.jpg? y
200 PORT command successful.
150 Opening ASCII mode data connection for 1.jpg(99901 bytes).
226 Transfer complete.
ftp: 收到 99901 字节,用时 0.03Seconds 3222.61Kbytes/sec.
ftp> del 1.jpg
250 DELE command successful.
ftp> help
Commands may be abbreviated. Commands are:
! delete literal prompt send
? debug ls put status
append dir mdelete pwd trace
ascii disconnect mdir quit type
bell get mget quote user
binary glob mkdir recv verbose
bye hash mls remotehelp
cd help mput rename
close lcd open rmdir
ftp> ? get
get Receive file
ftp> ? mget
mget Get multiple files
ftp>bye