I have a script exactly like this. It was one of my Very First Perl Scripts Ever (tm). I called it... wait for it... urlrange. :) One thing you might want to add is a way to specify the precision of numbers in the range. Your automagic precision detection will work in most cases, but occasionally it's nice to be able to specify.
Also, you might want to make a way to specify a suffix, rather than one being automatically determined. My script takes it's args as prefix first last suffix. So if I had http://blah.com/file01-blah.txt ..., I would run: urlrange http://www.blah.com/file0 1 5 -blah.txt.
Hopefully you will find this useful.
Update: you can look at my version at my website.
In reply to Re: Downloading a range of sequential files
by revdiablo
in thread Downloading a range of sequential files
by Ionizor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |