衷心感谢xingyun321大哥的帮助,这些太复杂了看不懂啊,你就直接给我写个能下载exe文件的批处理吧
参照以下的下载txt文件,我改为exe下的就运行不了
@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!!