While testing the FFS 8.10 beta I discovered a possible issue when mirroring from my local PC to a Linux host. The behavior I observed occurred when a subdirectory on my local PC had different capitalization than an existing remote directory. Here are the details:
- FreeFileSync 8.10 beta (32-bit)
- Windows 7 Enterprise SP1 (64-bit)
- SFTP protocol
- Synchronization setting: Mirror
I was able to distill the problem down to this local filesystem layout:
+---test-lowercase
| \---mib
| new.txt
|
\---test-uppercase
\---MIB
OLD.TXT
1. I mirrored the local "test-uppercase" directory so that the remote server had an uppercase "MIB" directory and a single file, "OLD.TXT". Here is the log:
[1:21:20 PM] Info: Synchronizing folder pair: [Mirror ->]
C:\Users\kurt\Desktop\test-uppercase
sftp://192.168.0.1/test
[1:21:20 PM] Info: Creating folder "sftp://192.168.0.1/test/MIB"
[1:21:20 PM] Info: Creating file "sftp://192.168.0.1/test/MIB/OLD.TXT"
[1:21:21 PM] Info: Synchronization completed successfully
[1:22:01 PM] Info: Synchronizing folder pair: [Mirror ->]
C:\Users\kurt\Desktop\test-lowercase
sftp://192.168.0.1/test
[1:22:01 PM] Info: Deleting file "sftp://192.168.0.1/test/mib/OLD.TXT"
[1:22:08 PM] Error: Cannot delete file "sftp://192.168.0.1/test/mib/OLD.TXT".
LIBSSH2_ERROR_SFTP_PROTOCOL: SFTP Protocol Error LIBSSH2_FX_NO_SUCH_FILE [libssh2_sftp_unlink]
[1:22:08 PM] Info: Updating attributes of "sftp://192.168.0.1/test/MIB"
[1:22:08 PM] Info: Creating file "sftp://192.168.0.1/test/mib/new.txt"
[1:22:08 PM] Error: Synchronization completed with errors
[1:22:33 PM] Info: Synchronizing folder pair: [Mirror ->]
C:\Users\kurt\Desktop\test-lowercase
sftp://192.168.0.1/test
[1:22:33 PM] Info: Deleting file "sftp://192.168.0.1/test/mib/OLD.TXT"
[1:22:33 PM] Info: Synchronization completed successfully