----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, April 11, 2001 3:01 PM
Subject: How to determine with a shared Network Drive is connected
> I have a perl script that moves files from one server to another server.
> The current script hangs, if the network drive on the destination server
is
> down. What is an easy way to test if the connection is up and available.
>
Try
if (-d "\\\\server\\share){print "Thank you for sharing";}else{print "Please
share with me";}
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users