Lorenzo writes..

>I need script access to a Web page which request user 
>authentication (using MSIE or Netscape, I'm presented with a 
>"Network Password" window where I have to supply user name and 
>password). I would access the content of this page through a 
>Perl script, to which I pass username and password and from 
>which I would have returned the HTML content.
>Is this possible? Where can I get some samples? What is the 
>better way to do this (another scripting language?)?

Yes it's possible. Quite easy in fact.

Examples are in the module documentation for LWP::UserAgent. Once you've
read that if you want specific examples then come back here, you'll get
plenty. I'm fairly sure that LWP::UserAgent is a standard module with
ActivePerl

The better way to do this is with Perl and LWP::UserAgent. See the docs
in your ActivePerl documentation or perldoc LWP::UserAgent from the
command prompt.

>What about if the Web page is an HTTPS one?

I've never done this, but the doco says that LWP::UserAgent handles
this.

-- 
  Jason King
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to