-
Notifications
You must be signed in to change notification settings - Fork 665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mirror : File corruption when copying from mounted drive #1244
Comments
Hi @michelgre, Explorer and copy are working the same for all files but since the issue only happens for some type of files, I would tend to believe it is due to a third party software.
|
That often not enough to fully disable them. Do you have the possibility to do the test on a clean environment ? Read and write are well tested and the description of the issue really makes me believe there is a third party corrupting the data. |
Please do not hesitate to reopen if you have new information |
Hello
I noticed a problem when using mirror.exe to mount and copy files.
Environment
Check List
Description
I use mirror.exe to mount a SMB share to a drive of my PC.
For some files, but not all, the data is corrupted when I copy the file from the mounted drive. The file length is OK and there is no error popup, but the content is partially messed up and replaced with nulls. The actual content varies from one copy to another for the same file. I noticed that for PDF files and for images files, because the viewer complains that the file is corrupt.
If I open the file directly from the mounted drive, there is no error, the content is correct. The corruption occurs only if I copy the file using Windows explorer or CMD copy.
If I copy the file using the UNC path of the shared folder, there is no error.
If I copy the file with Cygwin cp from the mounted drive, there is no error.
I noticed this problem while I was using an older version of Dokan so I upgraded to the latest version but it did not solve it.
Command to mount the disk : "c:\Program Files\Dokan\mirror.exe" /r \QNAP2\Public\Dokan /l Q:\ /s
(as administrator).
Attached:
Logs
mirror.log
DbgView.log
30141_50_2.pdf
Copied.pdf
Thank you.
The text was updated successfully, but these errors were encountered: