Dan Arena
2019-Jun-19 14:41 UTC
[Samba] error when trying to copy file from samba share to old Windows CE share
On Wed, Jun 19, 2019 at 10:23 AM Sonic <sonicsmith at gmail.com> wrote:> > Would it be accurate to say that all files not originating (at some > point) from the Samba system can be successfully copied to the CE > device and that all files once copied from the Samba system to the > Windows PC give rise to that error when you attempt to copy them to > the CE device? > > If so, I would wonder about the source of the files on the Samba > system. As a test; if you copy a working file from the PC (one that > you can copy successfully from the PC to the CE) to the Samba system > can that file then be copied directly to the CE device? If you copy > the same file back from the Samba system to the PC does it then fail > the copy from the PC to the CE device? > > ChrisYes, that is exactly the case. Just tested what you asked; copied a file from PC desktop to samba share, then back to desktop, and now the copy of the file will not copy from the PC desktop to the CE share, but the original file still copies successfully. This is pretty odd... I am going to try tcpdump'ing the transfers with old samba vs new samba to see what the difference is. The same files with same smb.conf on older samba version is not having this issue. Thanks, Dan
Sonic
2019-Jun-19 19:13 UTC
[Samba] error when trying to copy file from samba share to old Windows CE share
On Wed, Jun 19, 2019 at 10:41 AM Dan Arena <ddan39 at gmail.com> wrote:> Yes, that is exactly the case. Just tested what you asked; copied a > file from PC desktop to samba share, then back to desktop, and now the > copy of the file will not copy from the PC desktop to the CE share, > but the original file still copies successfully. This is pretty odd...It appears it would be one of two things, either the file contents get changed/infected in a way that triggers some protection in the CE device, or the file name is converted/munged into a character set/encoding that doesn't work for the CE device. Try renaming that test file (including extension) that wouldn't copy to the CE after the transfer to Samba and back and see if it will then copy. Also the contents can be verified by doing a "diff" (or whatever tool is at your disposal) between the original and the one that made the round trip. Chris
Dan Arena
2019-Jun-19 19:38 UTC
[Samba] error when trying to copy file from samba share to old Windows CE share
If I open the file with notepad++, make an edit and save it, then it will copy successfully. If I open it with regular Notepad, and edit/save the file, it still fails. Changing the filename/extension did nothing. Is there a way on windows to view extra attributes or something? On Wed, Jun 19, 2019 at 3:13 PM Sonic <sonicsmith at gmail.com> wrote:> > On Wed, Jun 19, 2019 at 10:41 AM Dan Arena <ddan39 at gmail.com> wrote: > > Yes, that is exactly the case. Just tested what you asked; copied a > > file from PC desktop to samba share, then back to desktop, and now the > > copy of the file will not copy from the PC desktop to the CE share, > > but the original file still copies successfully. This is pretty odd... > > It appears it would be one of two things, either the file contents get > changed/infected in a way that triggers some protection in the CE > device, or the file name is converted/munged into a character > set/encoding that doesn't work for the CE device. Try renaming that > test file (including extension) that wouldn't copy to the CE after > the transfer to Samba and back and see if it will then copy. Also the > contents can be verified by doing a "diff" (or whatever tool is at > your disposal) between the original and the one that made the round > trip. > > Chris
Maybe Matching Threads
- error when trying to copy file from samba share to old Windows CE share
- error when trying to copy file from samba share to old Windows CE share
- error when trying to copy file from samba share to old Windows CE share
- error when trying to copy file from samba share to old Windows CE share
- error when trying to copy file from samba share to old Windows CE share