ftp -i -s:1.dat <remote ftp host>
Connected to <remote ftp host>
220-Microsoft FTP Service
220 test
User (<remote ftp host>:(none)):
331 Password required for <account>.
230-test
230 User <account> logged in.
ftp> mget 1*.txt
200 Type set to A.
200 PORT command successful.
150 Opening ASCII mode data connection for 11.txt(0 bytes).
226 Transfer complete.
200 PORT command successful.
150 Opening ASCII mode data connection for 12.txt(0 bytes).
226 Transfer complete.
ftp> mput a*.txt
200 PORT command successful.
150 Opening ASCII mode data connection for a1.txt.
226 Transfer complete.
200 PORT command successful.
150 Opening ASCII mode data connection for a2.txt.
226 Transfer complete.
ftp> bye
ftp -i -g -s:1.dat <remote ftp host>
Connected to <remote ftp host>.
220-Microsoft FTP Service
220 test
User (<remote ftp host>:(none)):
331 Password required for <account>.
230-test
230 User <account>. logged in.
ftp> mget 1*.txt
Error opening local file 1*.txt.
> 1*.txt:Invalid argument
ftp> mput a*.txt
200 PORT command successful.
550 a*.txt: The filename, directory name, or volume label syntax is incorrect.
ftp> bye作者: acoreq 时间: 2006-8-3 09:58 唉。。。不会吧。。。作者: acoreq 时间: 2006-8-5 23:17 有人知道吗?