Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know my server is on?
Message
De
24/01/2001 00:23:05
 
 
À
23/01/2001 22:50:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00465537
Message ID:
00467759
Vues:
11
>Hi,
> I also try to use DISKSPACE(). It returns immediately if the drive is exist. It will "hang" about 10 secs if the drive is not exist or the network drive is not connected. It is same return if i use FILE() .
>
>Any ideas?
>
>Thank you

Just type at the VFP commandwindow:

?DISKSPACE("\\NOSERVER\C\NODISKDRIVE")

How long did it take to return -1. On my computer it was immediately.

Now type

?FILE("\\NOSERVER\C\NODISKDRIVE\nofile.txt")

How long did THAT take?

On my computer connected to a novell network, DISKSPACE returns in .001 second

FILE() returns in 2 to 5 seconds.

You decide.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform