>I guess "instantaneously(sp)" is relative. I just watched VFP freeze for 15 seconds before it returned -1 when I typed:
>
>? diskspace("\\noserver\noshare")
>
>I think diskspace() depends on the config of the hosting machine.
>
>I still think using something like running IIS on a the data server, installing an "I am alive" page, setting the timeout on the VFP/wwIPStuff client side to 3 seconds, and then polling for that server page would be faster.
>
>>
>>The solution I use now which returns a result instantaneously(sp?) is the VFP command DISKSPACE(). Try it and see! and then try IF FILE(MYFILE) etc with the computer connected and without.
>>
>>Believe me DISKSPACE works.
Have you tried an actual correct path?
Try
?DISKSPACE("\\noserver\c\noshare")
or
?DISKSPACE("\\noserver\d\noshare")
How many seconds??