Mike Blezien <[EMAIL PROTECTED]> wrote: > > I'm working on a project, which uses the LWP::UserAgent > module, and all is working fine untill we had to password > protect a folder with a .htaccess file, on the remote > server. Now we can't grab the file from the remote server, > without the passing the proper access information. >
The easiest way, if you're just grabbing one protected file, is to do $req->authorization_basic(qw/user pass/); Before submitting the request. There's an example of this in the "LWP cookbook". $ perldoc lwpcook HTH -- Steve -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]