Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clipper Visual-Objects > Re: Determining...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 10 Topic 11360 of 11613
Post > Topic >>

Re: Determining if share is available

by dlzc <dlzc1@[EMAIL PROTECTED] > Apr 29, 2008 at 02:21 PM

Dear James Martin:

On Apr 29, 9:14=A0am, "James Martin" <ja...@[EMAIL PROTECTED]
> wrote:
> I'm connecting to directories over a VPN, and
> sometimes the machines are not available at the
> other end. Instead of immediately going on there
> is a long wait before it returns with an error.
> File() does not help. Is there a way to determine
> whether a share (and of course a shared file) is
> available immediately?

You can find the computer's name from "NET VIEW" if necessary.
You can parse the output of "PING <cName> -n 1 -w 10", to see if it
contains "Request timed out."

If you get a hit, then you can see if drives are mapped, etc.

David A. Smith
 




 10 Posts in Topic:
Determining if share is available
"James Martin"   2008-04-29 12:14:03 
Re: Determining if share is available
John Martens <adsl6721  2008-04-29 18:49:28 
Re: Determining if share is available
"James Martin"   2008-04-29 16:33:03 
Re: Determining if share is available
"James Martin"   2008-04-30 12:28:27 
Re: Determining if share is available
dlzc <dlzc1@[EMAIL PRO  2008-04-29 14:21:02 
Re: Determining if share is available
"James Martin"   2008-04-30 12:30:15 
Re: Determining if share is available
Richard Pilkington <ri  2008-05-01 11:29:13 
Re: Determining if share is available
"Willie Moore"   2008-05-01 13:08:00 
Re: Determining if share is available
"James Martin"   2008-05-20 12:07:57 
Re: Determining if share is available
dlzc <dlzc1@[EMAIL PRO  2008-04-30 10:17:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Aug 27 18:03:24 CDT 2008.