hi monks
I am having problems fetching files from some sort of URIs. I used LWP::UserAgent (same problem) but now I changed to File::Fetch as it seems to me quite suitable for my task. I came out with this:
#!/usr/bin/perl use strict; use warnings; use File::Fetch; my $url=" http://www.ekey.net/downloads-475?download=2132cbe2-2fb1-eef +f-583c-50a39b6aba6c&name=v2_ITA_12-Seiter_Programm_1207_web.pdf"; print "Downloading $url\n"; my $ff = File::Fetch->new(uri => $url); my $where = $ff->fetch( to => "ekey corpus" ) or $ff->error;
The file definitivly exists in that location. Compy and paste in Firefox and you get promped to download the file (Firefox knows the file names starts after the last "=").
Any idea why this does no work?
In reply to Fetch Problem uri by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |