|
-
October 14th, 2001, 09:12 AM
#1
How to check Network connection or access to other server??
Hi,
I have a problem when trying to determine if some remote networkdirectories are available.
It's a file transporting system that moves files from one serverdir to another when they're available.
I check for files using the Dir command, i.e. if dir("\\appl1\files\down\*.*).
If the dir is empty there is no problem, however if the connection is temporary lost, I get a file/path error in the dir statement.
I'd like to give a message stating 'connection not available', but I can't capture the error so that I know what the problem is.
Anyone know how to check if '\\appl1\' is available?
I can't use drivemapping unfortunately.
Thanx,
Braniac.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|