1
Vote

Connection lost while transfering large file

description

Using RAPI2 in an [STAThread] - Program and everything will work fine until I transfer a large file to the mobile device. After transfering 4.2 MB of 8.2 MB the connection will be lost and the device is disconncted.
(OS Win7 and WindowsCE 5.0) What's going wrong?

file attachments

comments

dahall wrote Apr 22, 2013 at 10:09 PM

I no longer have the ability to test this on my system. Will you download the updated assembly attached to this issue and test it? I think I have corrected the problem you reported.

rabado wrote Apr 23, 2013 at 7:28 AM

Hello "dahall",

the file transfer will work sometimes, but i can't report what is hapening when the connection will be lost.
The method "RemoteFile.CopyFileToDevice throw an exception "Der Vorgang wurde erfolgreich beendet"
I'm using RAPI2 in an own class.

dahall wrote Apr 23, 2013 at 2:36 PM

Please send me all the detail of the thrown exception. Does the file transfer work sometimes with the new DLL I posted in the RAPI2.zip file attached to this issue or did it work sometimes before with the released DLL?