Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't get adir() to work with UNC path
Message
De
24/03/2011 15:02:35
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
24/03/2011 14:55:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01504849
Message ID:
01504862
Vues:
50
try ? directory('//path_to_a_dir')

>Naomi,
>
>How would I know that it gets disconnected. How do I check for the physical path based on the UNC path?
>
>
>>>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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform