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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement