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-08-12 11:00
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » FTP-related BAT View 831 Replies 1
Original Poster Posted 2010-04-14 16:30 ·  中国 上海 徐汇区 电信
新手上路
Credits 3
Posts 2
Joined 2010-04-14 15:48
16-year member
UID 164582
Gender Female
Status Offline
How can I download a RAR from a specific folder on an FTP server, and then extract it locally? The RAR filename includes a version number. How can I get the version number.... Asking for advice.
Floor 2 Posted 2010-04-15 10:41 ·  中国 广东 深圳 电信
初级用户
★★
游手好闲 + 无所事事 ..
Credits 194
Posts 167
Joined 2007-04-30 09:43
19-year member
UID 87022
Gender Male
Status Offline
http://www.cn-dos.net/forum/viewthread.php?tid=50791&fpage=1
Look at this thread, it explains methods for downloading via ftp. The RAR filename should preferably use a fixed format, with only the version number differing in the filename. Only then can it be sorted by date (that way assigning the version number variable becomes very simple).

As for extracting rar archives, the command in command-line mode is just rar. Open WinRAR's command manual and you'll see. Extracting it and then executing it is very easy to do.
Forum Jump: