Unknown error during the copy of the folder on mac os x
Status: Inactive
Brought to you by:
matus_tomlein
Hi,
I downloaded this application in order to test it on the mac os x and there are some problem.
I try to synchronize two folders but the problem is that several files aren't synchronized!
I have a message which is "Unknown error".
I can confirm this report. In some cases, in spite of the error message, the file was synchronized successfully. In other cases the file was not synchronized. The same few files failed to be synchronized in repeated attempts. This was on MacOS 10.8.4, synchronizing with a flash drive. The files with errors seemed perfectly ordinary .pdf and .xlsx files. The flash drive was not locked. I copied the same files to the flash drive using the finder with no problems.
I have had the same problem and have located the code causing the message.
The story:
After Synkron copies a file, it compares the time stamp of the source file to that of the copied file. If the timestamps are not the same the "unknown error" is displayed.
It turns out that the copied file has a time stamp one second less than the original.
I have reproduced this on OS X 10.9.4 outside of Synkron by copying a Dropbox file to the USB key (using both the finder and the command cp -p) and visually comparing the timestamps.
Note 1) This did NOT happen when I copied the same file to an other location in the internal disk (OS X Extended file system).
Note 2) I have not been able to verify this issue for non-Dropbox files.
The solution/workaround:
Allow the copied file to have it's time stamp equal to
1) the source file time stamp or
2) 1 second less that the source file time stamp.
My "fix"
In file mtfile.ccp, replace the following code (on line 59)
by: