建一个 ftpc.bat 内容如下:
@echo off
echo open ftp.sec.gov>tmp.bat
echo anonymous>>tmp.bat
echo
[email protected]>>tmp.bat
echo user anonymous
[email protected]>>tmp.bat
echo lcd c:\>>tmp.bat
echo get /edgar/data/1002135/0000914760-03-000098.txt>>tmp.bat
echo get /edgar/data/1034594/0000950168-03-001955.txt>>tmp.bat
echo bye>>tmp.bat
ftp -s:tmp.bat
cd /d c:\
ren "0000914760-03-000098.txt" 000098.txt
echo done!!