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!
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.
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.