Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know my server is on?
Message
From
24/01/2001 00:23:05
 
 
To
23/01/2001 22:50:20
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00465537
Message ID:
00467759
Views:
10
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform