[Chicago-talk] Simulating "Save Link As" in Perl
vjcang at gmail.com
Wed Sep 14 01:50:14 PDT 2011
When I access below $binaryfile_url (some url pointing to a binary file)
from a web browser, I get HTTP Error 404.
However, I can save the binary file to my hard disk by right clicking the
url and selectung 'Save Link As'.
Now, when I try this with LWP::Simple
my $status=getstore($binaryfile_url, $download_file_fullpath);
it fails with the same 404 error.
I want to simulate the 'Save Link As' behavior of the web browser to
download it programmatically from Perl. Any ideas?
Thanks a lot
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chicago-talk