fwgx
1st June 2004, 20:48
After someone asked for (http://forums.overclockers.co.uk/showthread.php?s=&threadid=17232458) a program that could download a file every X number of minutes I created a little java CLI program to do just that.
You just specify the file to be downloaded, the time interval in minutes and the extension to the file and it will be downloaded into the current directory. The file name will be in the format DD-MM-YYYY-HH-MM.[extension]
You run it by calling:
java ShedFile http://www.path.to/file [time between downloads] [extension with no leading dot]
i.e.
java ShedFile http://www.philybaby.co.uk/pictures/new-case-small.jpg 5 jpg
to download that picture.
The java .class file is available here (http://www.philybaby.co.uk/projects/ShedFile/ShedFile.zip).
Anyway, that's just how bored I am, I hope someone finds it useful.
If you have something that you want programming and isn't too big a deal shout it here and I'll have a look at it (I know Java and C/C++ btw)
You just specify the file to be downloaded, the time interval in minutes and the extension to the file and it will be downloaded into the current directory. The file name will be in the format DD-MM-YYYY-HH-MM.[extension]
You run it by calling:
java ShedFile http://www.path.to/file [time between downloads] [extension with no leading dot]
i.e.
java ShedFile http://www.philybaby.co.uk/pictures/new-case-small.jpg 5 jpg
to download that picture.
The java .class file is available here (http://www.philybaby.co.uk/projects/ShedFile/ShedFile.zip).
Anyway, that's just how bored I am, I hope someone finds it useful.
If you have something that you want programming and isn't too big a deal shout it here and I'll have a look at it (I know Java and C/C++ btw)