2
Vote

Could not open remote file

description

VS2012 on windows 7

when i try to copy a file from Honeywell Windows ce device to desktop.
using (RAPI rapi = new RAPI())
        {
            rapi.Connect(true);
            if(rapi.DeviceFileExists(@"\Program Files\Inventory\InventoryData.sdf"))
                rapi.CopyFileFromDevice(@"E:\InventoryData.sdf", @"\\Program Files\\Inventory\\InventoryData.sdf");
            rapi.Disconnect();

        }
getting error "Could not open remote file "____

how can i fix this bug..

comments

klingan wrote Jan 29, 2014 at 2:50 PM

Could the project administrator please try to answer this?

I have the exact same problem, and the file on the ce device is created with a FILE_SHARE_READ option. The application on the ce device worked just fine when transferring files to windows xp, so I don't know why it doesn't work now. Are there any more permissions that need to be set?

wrote Jan 29, 2014 at 2:52 PM