Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transfering files using RAPI
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01148275
Message ID:
01148350
Views:
19
> 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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform