Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Victor Espina
  Where is Victor Espina?
 Rancagua
 Chile
 Victor Espina
 To: Rajesh Samadia
  Where is Rajesh Samadia?
 Jaipur
 India
 Rajesh Samadia
 Tags
Subject: RE: File command return False
Thread ID: 415530 Message ID: 416015 # Views: 41 # Ratings: 0
Version: Visual FoxPro 6 Category: General VFP Topics
Date: Thursday, December 18, 2014 8:03:42 PM         
   


I stumbled with this issue while woking on a REST service with AVFP. For some reason, FILE() function could return incorrect values when ran form a STDLL o MTDLL. In my case, I solved using WSH File.Exists() function.

Victor Espina

> Hi All,
> I have one computer with Windows XP which acts like a server & Other
> computer with windows 7 64 bit as Node. The computer with XP is mapped as M: drive
> on Windows 7 machine.
>
> Now my Programs checks if Table TblDzNtw.Dbf exists on XP Machine (Server) or not
> I give the Command
>
> DzNPath="M:\SOFTABC\Main\TblDzNtw.Dbf"
>
> ?FILE(DzNPath) Returns .F. where as My COmputer show the M: Drive and
> the respective file in the M:\SOFTABC\Main Directory
>
> This is happening in Node with Windows 7 64 Bit, but all other 32 bit machines
> run this code successfully if they are connected to Server
>
> Where am i going wrong?
>
> Regards



/* ---------------------------------- *\<br />Victor J Espina S
www.victorespina.com.ve/wiki
"Change is the only constant in the Universe"

ENTIRE THREAD

File command return False Posted by Rajesh Samadia @ 12/6/2014 1:50:52 PM
RE: File command return False Posted by Ali Koumaiha @ 12/6/2014 3:26:21 PM
RE: File command return False Posted by Pete Sass @ 12/7/2014 1:17:51 AM
RE: File command return False Posted by Bernard Bout @ 12/11/2014 2:48:32 AM
RE: File command return False Posted by Mike Yearwood @ 12/11/2014 9:49:21 PM
RE: File command return False Posted by Bernard Bout @ 12/12/2014 1:10:19 AM
RE: File command return False Posted by Paul Gibson @ 12/12/2014 2:35:32 PM
RE: File command return False Posted by Gene Wirchenko @ 12/12/2014 7:27:17 PM
RE: File command return False Posted by Bernard Bout @ 12/18/2014 4:12:31 PM
RE: File command return False Posted by Victor Espina @ 12/18/2014 8:03:42 PM
RE: File command return False Posted by Cesar @ 12/19/2014 10:48:24 AM