Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transfering files using RAPI
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01148275
Message ID:
01148350
Vues:
20
> the copyfile function transfers a file from desktop to mobile does a copy among pda's directories?

Methods CopyFile and MoveFile operate strictly with files on PDA. For example, in oFiles.CopyFile(cSource, cTarget) both cSource and cTarget are files on PDA device.

To transfer files between PDA and desktop use FileToString and StringToFile methods of Tfiles class.
FUNCTION FileToString(cSourceFile) As String
* cSourceFile is PDA file
...
RETURN cResult

FUNCTION StringToFile(cBuffer, cTargetFile, nFlag) As Number
* cTargetFile is PDA file
...
RETURN m.nBytesWritten
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform