China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 17:14
中国DOS联盟论坛 » DOS媒体世界 & 网络技术 (多媒体室) » Seek! FTP automatic download script under DOS View 2,357 Replies 9
Original Poster Posted 2006-09-13 03:54 ·  中国 四川 绵阳 联通
初级用户
Credits 66
Posts 26
Joined 2006-01-23 16:28
20-year member
UID 49404
Status Offline
I saw some scripts on the Internet that can automatically download files in batches, but none of the ones I tried worked. Can that big brother help give some pointers!!

The content of get.bat is ftp -s:"1.ftp" Here is the content of 1.ftp, note that the content must have blank lines with carriage returns!! It is also the confirmation (carriage return) for mget to read

******
open 210.12.168.8
rain
kingdee
cd kv2006
bin
get kvdos.exe
get kva.vlb
get......

Please give some pointers, etc.
Floor 2 Posted 2006-09-13 05:33 ·  中国 甘肃 张掖 电信
金牌会员
★★★★
Credits 4,103
Posts 1,744
Joined 2006-01-20 13:00
20-year member
UID 49241
Gender Male
From 甘肃.临泽
Status Offline
I use

192.168.0.1 admin pass

The content of get.bat is ftp -n -s:test.scr 192.168.0.1

The content of test.scr is
user admin
pass
get kvdos.exe
quit
Floor 3 Posted 2006-09-13 21:42 ·  中国 四川 绵阳 联通
初级用户
Credits 66
Posts 26
Joined 2006-01-23 16:28
20-year member
UID 49404
Status Offline
I have tried it in pure DOS FTP, but it still doesn't work.
Floor 4 Posted 2006-09-13 22:43 ·  中国 四川 绵阳 联通
初级用户
Credits 66
Posts 26
Joined 2006-01-23 16:28
20-year member
UID 49404
Status Offline
There is no PACKET DRIVER found. You can try to check the network card driver installation, make sure the appropriate packet driver for the network card is properly installed. Usually, you can look for the packet driver in the driver disk that comes with the network card or from the official website of the network card manufacturer. If you are using a specific operating system related to DOS, there might be dedicated packet driver packages available for download from relevant retro-computing or network-related resource sites.
Floor 5 Posted 2006-09-13 22:46 ·  中国 四川 绵阳 联通
初级用户
Credits 66
Posts 26
Joined 2006-01-23 16:28
20-year member
UID 49404
Status Offline
Strangely enough, I can directly use FTP.EXE to log in to the FTP server and download things.
Floor 6 Posted 2006-09-13 23:44 ·  中国 四川 绵阳 联通
初级用户
Credits 66
Posts 26
Joined 2006-01-23 16:28
20-year member
UID 49404
Status Offline
I support! Where can I find PACKET DRIVER?
I'm a newbie, please give more guidance!
Floor 7 Posted 2006-09-14 00:21 ·  中国 甘肃 张掖 电信
金牌会员
★★★★
Credits 4,103
Posts 1,744
Joined 2006-01-20 13:00
20-year member
UID 49241
Gender Male
From 甘肃.临泽
Status Offline
Forgot to mention, I tried it under XP
Floor 8 Posted 2006-09-14 01:19 ·  中国 四川 绵阳 联通
初级用户
Credits 66
Posts 26
Joined 2006-01-23 16:28
20-year member
UID 49404
Status Offline
Oh, I'm dizzy! I ran ftp under the CMD of Windows 2000 and got this problem:
FTP Transfer Program
Version 0.70
Type HELP for more information
NO PACKET DRIVER FOUND
c:\ftp>
Floor 9 Posted 2006-09-14 13:38 ·  中国 福建 福州 电信
中级用户
★★
Credits 288
Posts 78
Joined 2003-11-19 00:00
22-year member
UID 13041
Gender Male
Status Offline
Ask, can the building host manually download files by running the FTP.exe program directly in DOS?
Floor 10 Posted 2006-09-14 21:37 ·  中国 四川 绵阳 联通
初级用户
Credits 66
Posts 26
Joined 2006-01-23 16:28
20-year member
UID 49404
Status Offline
Yes! Directly using ftp.exe to log in to the server to download files is all right. But when using an automatic multi-file download script, the above problem occurs.
Forum Jump: