in reply to Capture HTTP Error in Perl

You need to give us a full description of what you are doing and how, because there is obviously more going on here than your one-line OP suggests.

Replies are listed 'Best First'.
Re^2: Capture HTTP Error in Perl
by suzun30 (Acolyte) on Mar 26, 2014 at 21:50 UTC
    Hi,

    I have posted my code in the thread above. My page returns successfully 90% of the time. In some random cases even though it creates the output file and reaches the point where i am printing the download link in the html(checked by printing to the log file), it gives a "Internet Explorer cannot display the webpage " error. I do not get any error code on the IIS 6 server log. I tried using fiddler to capture any http error code and got nothing even when the page returned the error. Kindly let me know anything i am missing.

    Thanks and appreciate your time