Search code examples
windowsfile-iowindows-7windows-cecopy-paste

Problems copy files to windows ce from windows 7


I'm having trouble copying binary files to a Windows CE computer from a Windows 7 64bit PC. All I'm using is Window Explorer to connect to the Windows CE computer through ethernet. The file size increases after the copy. I've done this through Windows XP, through the same method (connecting to Windows CE through ethernet, using windows explorer), and the file size doesn't change.

When I open the files in a hex viewer initial portion of the file appear the same then the CE file has a large section of NULL characters the files match again after this followed by another section of NULL characters in the CE file. Then matching again for a while and then a complete jumbled up miss match on both ends.

I have also tried using the command prompt 'copy' command with the biniary option enabled. same issue.

Any ideas of how to copy this over (due to certain restrictions I'm not allowed to install 3rd party software to do the copy)

NEW INFO: Attempted this with a basic txt file did not get the error inititially (text of file was 'test'). When I increased the size of the text file to 1 MB (text of file was 'testtest\n' over and over) the issue occured.


Solution

  • This bug afaik affects all versions beyond Windows 7 and Windows CE 5.0 (It is not present in Windows Embedded Compact 7). For me this happens for all files with a filesize > 32Kb.

    Workaround with zip

    You can work around that bug by zipping the files you want to transfer and then unzip them directly to the network share.

    Workaround FTP

    Another workaround is to stop using SMB and use FTP instead. This will also no longer require you to manually enable NTLM v1.0 on your Windows 7 and up machines.