I have got the logging in part done with the code shown below, but how do I download the file and save it? The example I show is more for downloading a web page. Anyone have any ideas?Downloading a webpage via http is the same as downloading a zip file via http (no difference). Instead of print $ua->request($req)->as_string, open a filehandle and print to it (or just redirect the output of your script to a file).
In reply to Re: Download file over HTTP
by Anonymous Monk
in thread Download file over HTTP
by chaskins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |