Recently I found a interesting site with many download and wanted to save them all, because I was interested in older downloads.
Links where all redirected by file handling tool:

If you use a simple bash loop to fetch all the files, files are named: file.php?id=xxx

So I found this interesting wget option and solved the problem this way:

mkdir dl
cd dl
for i in $(seq 1 2000)
   wget --content-disposition$i

This does a pretty nice job :-)