Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't get adir() to work with UNC path
Message
From
24/03/2011 15:00:53
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01504849
Message ID:
01504860
Views:
50
Whoops, never mind! My mistake, my string should have been:

c_skeleton= "\\xxxapp\public\develop\newdata\xxxlist\xxadvance\2*.*"
not
c_skeleton= "\\xxxapp\develop\newdata\xxxlist\xxadvance\2*.*"

Thanks anyway for the help!

>>I saw some old posts on here stating that adir() does work with UNC paths. However, in my tests so far the return value is always 0, even when I know that I am referencing a location that has files and folders. I have rights to the server in question and can get to it by navigating in explorer.
>
>Is it possible that this UNC path gets disconnected for a moment and then connected back?
>
>Can you return the physical path based on UNC path?
Previous
Reply
Map
View

Click here to load this message in the networking platform