
Why we need this tool:

In fgm web sit:  http://asp.fgmtv.org/, very often, we need to download a series of files:

for example: http://asp.fgmtv.org/ProgramDetail.asp?NewsID=1392

MPEG :     ļ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | ˵
 
we need to download following files:

http://fgmtv.org/videos6/2003/08/wetellfuture6_update/20030828/wtf6-20030828-PAL.mpg.001
http://fgmtv.org/videos6/2003/08/wetellfuture6_update/20030828/wtf6-20030828-PAL.mpg.002
.....
http://fgmtv.org/videos6/2003/08/wetellfuture6_update/20030828/wtf6-20030828-PAL.mpg.044
http://fgmtv.org/videos6/2003/08/wetellfuture6_update/20030828/wtf6-20030828-PAL.mpg.045
http://fgmtv.org/videos6/2003/08/Office_5/Office_5_mpeg.mpg_Merge.exe


To download all files manually is not a easy thing.
 
This tool is for doing this automatically and easily.
 
Basically, it make use of the  wget.exe
together with a simple perl script,  it can download files listed in the text.txt one by one, save lot's of time

we can input to text.txt like this:

http://fgmtv.org/videos6/2003/08/wetellfuture6_update/20030828/wtf6-20030828-PAL.mpg.(001->045)

then the tools will automatically figure out that files from 

http://fgmtv.org/videos6/2003/08/wetellfuture6_update/20030828/wtf6-20030828-PAL.mpg.001
http://fgmtv.org/videos6/2003/08/wetellfuture6_update/20030828/wtf6-20030828-PAL.mpg.002
....
http://fgmtv.org/videos6/2003/08/wetellfuture6_update/20030828/wtf6-20030828-PAL.mpg.45



 
here is the tool.
 
I also change the grabfiles.pl into grabfiles.exe, so that any one that get grabfiles.exe can use it, no need to install perl package.

the grabimage.exe tool can download image files for you.

=============================================
usage 1:

grabfiles  test.txt

it will download all the files listed in the test.txt, and put them into folder  test
when you use it, please put the wget.exe in the same folder as   grabfiles.exe
the tool currently only work on Windows

in test.txt , you can input like this:

http://fgmtv.org/videos6/2003/08/wetellfuture6_update/20030828/wtf6-20030828-PAL.mpg.001

or

http://videos.fgmtv.org/videos6/mpeg/2001/10/425-3-Corrected/avi/425_(001->035).zip

it will download all the files between 
http://videos.fgmtv.org/videos6/mpeg/2001/10/425-3-Corrected/avi/425_001.zip
to 
http://videos.fgmtv.org/videos6/mpeg/2001/10/425-3-Corrected/avi/425_035.zip


if you put   #  before the line:

#http://videos.fgmtv.org/videos6/mpeg/2001/10/425-3-Corrected/avi/425_001.zip

this line will be ignored






