Log in

View Full Version : hELP NEEDED copying a folder to PPC using RAPI


raghuraman_ace
10-19-2005, 09:09 PM
hi i ve tried copying a folder from pc to ppc using

RAPI function , -----------------------------
myapi.connect()
myapi.CopyFileToDevice(str & "\TCMSMobileIni", "\Program Files\AppForge Projects\TCMSMobileIni", True)

but it resulted with the error

-------------
An unhandled exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll

Additional information: Access to the path "E:\SYNCOUT_PDB_Latest\TCMSMobileIni" is denied.
--------------------------
where TCMSMobileIni is the folder name which has sub folders & files .

pls tell me how to copy a folder to ppc.

thx & Regards
Raghu

Strider
10-20-2005, 10:09 AM
It doesnt work that easy, the method is called CopyFILEtoDevice, it can only copy individual files.