Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I see if a file exists on a mapped network drive

Status
Not open for further replies.

ugagrad

Programmer
Sep 12, 2003
49
US
I am trying to see if a file exists on a mapped network drive with FoxPro 8. I have tried to use File() and Directory(). They both work if the network computer is on. However, if the network computer is not turned on. There is about a 20 second delay before the File() function returns false. Is there another more efficient way to do this.
Thanks,
 


Take a look at thread184-673274

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
ugagrad

It depends on your requirements, there is a post that checks if a network drive is mapped, and another one that checks and map as well.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top