Hello all,

I want to download a file protected with a htaccess. I saw the getstore
function with lwp:Simple module but authentification does not work.
I saw a code with lwp::useragent
  use LWP::UserAgent;
  $ua = LWP::UserAgent->new;
  $req = HTTP::Request->new(GET=> $url);$req->authorization_basic($nl_id,
$nl_passwd);

But i don(t want to download a page but a file. Is it possible ?
Thx for your answer
BR
Devl

Reply via email to