This works to get your average file ::
 
use LWP::Simple;
my $content = get($url);
print $content;
 
is there a way to give a user name and password if $url is .htaccess protected?
Something like ::
 
use LWP::Simple;
my $content = authenticate_and_get($url, $user, $pass);
print $content;
 
IE if you got $url in a browser it will prompt you for your username and password.
 
Thanks!


Reply via email to