Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MTP File Access?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01598965
Message ID:
01598967
Vues:
60
>When you plug your Android smartphone into your Windows computer you have the option of connecting as an MTP or PTP device. MTP is the recommended type and facilitates access to the files on the Android device. The problem is that VFP doesn't have access to those files. Anybody know how to make that happen?

File access is really quirky.

I'm trying to allow the user to find a .csv file. If I use getfile('csv') it will not show the file. But if I do just plain getfile() then I can find the .csv file. The full path gets returned as c:\users\username\appdata\local\microsoft\windows\temporary internet files\blah blah blah
Windows is copying the file that you select into the temp folder. Other files from the phone in the same folder can not be accessed using this temp path.

If you use getdir() you can't see the phone at all.
Brandon Harker
Sebae Data Solutions
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform