LWP::Useragent htaccess does not work



Hello all,

I try to make a script to download a file with htaccess. I have the error
401, it does not work.
Why my script do not use my credentials?

#!/usr/bin/perl

use LWP::UserAgent;
my $ua = LWP::UserAgent->new;
$ua->credentials(
'192.168.0.200:443',
'weba',
'myuser' => 'mypass'
);
$response = $ua->get('https://192.168.0.200/myfile.gz',
':content_file' => '/home/devil/archive.gz'
);

BR
DEvil


Relevant Pages

  • Re: constant runtime errors-please help
    ... Common script errors messages can be eliminated by Clicking: ... click Internet Options. ... Two download versions are available for Windows Script 5.6. ... HiJackThis: - Free ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Idiot proof removal of junk?
    ... | I would like to send everyone a single script or small set of scripts ... | convince windows to boot into safe mode with command prompt. ... FireWall to allow it to download the needed AV vendor related files. ... This will bring up the initial menu of choices and should be executed in Normal Mode. ...
    (microsoft.public.windowsxp.help_and_support)
  • Announcement: Fix management tool for AIX 4.x/5.x available
    ... I'm pleased to announce a tool to automate download and management ... of ".bff" and ".rpm" fix packages for AIX ver. ... "fix-get.sh" script has been designed to automate fix packages ... discovery and download for servers with Unix AIX versions up to 5.3. ...
    (comp.unix.aix)
  • Re: Dynamic loading of javascript files into web pages
    ... after the script has loaded and executed. ... in an external file execute and know that is has loaded? ... the archives, I have shown this MANY times and it was even before ... Want it to download faster? ...
    (comp.lang.javascript)
  • Re: Operations Masters
    ... Run diagnostics against your Active Directory domain. ... Run dcdiag, netdiag and repadmin in verbose mode. ... If you download a gui script I wrote it should be simple to set and run ...
    (microsoft.public.windows.server.active_directory)