Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know my server is on?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00465537
Message ID:
00467371
Vues:
14
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform