php file download

Author Message
boulig 02/27/2005 11:53 am
Hi,

I try to download some files.

www.server.com/sims/download.php?id=4010
www.server.com/sims/download.php?id=4011
...
www.server.com/sims/download.php?id=7000
I use
www.server.com/sims/download.php?id={:410..7000}
but for each file
first I must type
www.server.com/sims/download.php?id=4010
then i must click to a link like this (generate by www.server.com/sims/download.php?id=4010)
www.server.com/download/5968277eefe83ed4944d13370e17f369/52246FILEname.zip

and if i use
www.server.com/sims/download.php?id={:4010..7000}
then i have all download pages, but
the next link is out of date (no more valid to download, 404 error)

How can i download file after file and not first all the page and then zip file link ?
like this :
www.server.com/sims/download.php?id=4010
www.server.com/download/5968277eefe83ed4944d13370e17f369/52246FILEname4010.zip
www.server.com/sims/download.php?id=4011
www.server.com/download/5968277eefe83ed4944d13370e17f369/52246FILEname4011.zip
www.server.com/sims/download.php?id=4012
www.server.com/download/5968277eefe83ed4944d13370e17f369/52246FILEname4012.zip.....

To force OE to finish a link befor start the next ?
thanks

Excuse me for my english
Oleg Chernavin 02/27/2005 04:32 pm
What if you would separate these links by two Projects. The first would use the following URL:

http://www.server.com/sims/download.php?id={:4010..7000}

The second:

http://www.server.com/download/5968277eefe83ed4944d13370e17f369/52246FILEname{:4010..7000}.zip

Both with Level=0.

Start the first Project and when it finishes, start the second one. Would this work?

Best regards,
Oleg Chernavin
MP Staff
boulig 02/28/2005 06:09 am
Hi,
thanks...but i forget something...

www.server.com/sims/download.php?id=4010
www.server.com/download/4be3854f122635dd87af750c3ced7caf/52246FILEname4010.zip
www.server.com/sims/download.php?id=4011
www.server.com/download/4c2d23a6492abf06b1b4811e8dd9a1f6/65846FILEname4011.zip
www.server.com/sims/download.php?id=4012
www.server.com/download/5968277eefe83ed4944d13370e17f369/52246FILEname4012.zip.....

in the download link for the file, the number are generate... it`s never the same and if i wait too long... the generate link is out of date..
this why i want to force to download like this...page by page..


Oleg Chernavin 02/28/2005 07:18 am
OK. Please try another way. Create a new Project with the following:

http://www.server.com/sims/download.php?id={:4010..7000}
Additional=DepthFirst
Channels=1

Would this work?

Oleg.


boulig 02/28/2005 08:30 am
Perfect
only one word : thanks
Oleg Chernavin 02/28/2005 08:37 am
You are welcome!

Oleg.