Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know my server is on?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00465537
Message ID:
00467371
Views:
13
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform