Re: download a file protected with htaccess

2008-10-25 Thread Jeff Pang
2008/10/26 OXx <[EMAIL PROTECTED]>: > 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::

download a file protected with htaccess

2008-10-25 Thread OXx
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_bas