Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: download ZIP file from web

by leocharre (Priest)
on May 27, 2010 at 14:13 UTC ( #841924=note: print w/replies, xml ) Need Help??


in reply to download ZIP file from web

You gotta consider..

a) are you trying to come up with a hack to be able to circumvent the mentioned problem (the site actaully points to some script or whatever that *afterwards* sends your browser the url to the file to download) in any given situation?

Then maybe just download whatever you get to a temp file- checkout the mimetype, if it's html/etc, reap it for a .zip url.

b) Or, are you trying to come up with a hack for this one site only?

Consider unix wget or curl instead. Do this in bash.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://841924]
help
Chatterbox?
shmem puts down the Canon garments and dresses as Chancellor
[vrk]: Congratulations. You should have Cookies
[shmem]: thanks vrk - but I'll rather have a plate of "silly con charme"
Lady_Aleena is trying to explain perl regexen to people right now and explaining how variables expand in regexen.
[Lady_Aleena]: The people I'm talking with think /$var/ looks weird with some saying it shouldn't work.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2017-04-28 09:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (520 votes). Check out past polls.