E
EL34
I have an app that goes out to my company web site and checks a file to
see if an order has been placed on my shopping cart.
Everything works fine unless the server is down, is being re-booted,
etc.
My perl app hangs up and I cannot exit it unless I kill the Perl
process in windows.
I am using fetch to open the file.
$INET->FetchURL("$FileOnServer");
Is there a way to
see if a files exist on a server or if,
if the internet connection is down or,
any sort of reason why Perl cannot fetch the file within say 10
seconds?
I looked over the win32::internet docs but I don't quite understand how
to go about doing this.
a short example would be much appreciated.
thanks
see if an order has been placed on my shopping cart.
Everything works fine unless the server is down, is being re-booted,
etc.
My perl app hangs up and I cannot exit it unless I kill the Perl
process in windows.
I am using fetch to open the file.
$INET->FetchURL("$FileOnServer");
Is there a way to
see if a files exist on a server or if,
if the internet connection is down or,
any sort of reason why Perl cannot fetch the file within say 10
seconds?
I looked over the win32::internet docs but I don't quite understand how
to go about doing this.
a short example would be much appreciated.
thanks