ich hab folgendes Proble.Ich will über ein perlscript eine Datei downloaden, die hinter einer .htaccess liegt. Kann ich mich mit
use LWP::Simple;
my $url = 'http://www.example.de';my $file = 'dir/file.txt';getstore($url,$file);
auch irgendwie an der .htaccess authentifizieren ?Danke schonmal für eure hilfe
J-jayz-Z
Datum: 02.04.2005-00:12
http://cpan.uwinnipeg.ca/htdocs/libwww-perl/LWP/UserAgent.html
$ua->credentials( $netloc, $realm, $uname, $pass )Set the user name and password to be used for a realm. It is often more useful to specialize the get_basic_credentials() method instead.
Set the user name and password to be used for a realm. It is often more useful to specialize the get_basic_credentials() method instead.
Datum: 02.04.2005-00:37