I'm trying to test to make sure my web site is up by connecting to the admin web page of my application. The admin web page is an ASP page and whenever I set it up using:
use HTTP::Request; use LWP::UserAgent; $filename = D:\\temp\\msi.html"; $ua = LWP::UserAgent->new; $url = "http://webserver/admin.asp"; $req = new HTTP::Request (GET => $url); $res = $ua->request($req, $filename); if ($res->is_success) { print "Got response back from web page\n"; } else { print "No response from web page.\n"; exit; } It always fails. I can take the URL and plug it into a browser and it comes up just fine. Any ideas??? Stanley G. Martin Sprint - ISS Enterprise App/Decision Support Services [EMAIL PROTECTED]
<<attachment: WINMAIL.DAT>>
