I was recently encrypting my Visual Studio files and I ran into an interesting issue. Rsyncrypto was giving me the following error message:
====== BEGIN ERROR MESSAGE ====
file open failed(BackupFiles\D\Jan Alphenaar\Mijn documenten\Backup 1234567\Visu
yncrypto_tmp): No such file or directory
======= END ERROR MESSAGE =====
My best guess is that the length of the destination file is exceeding the 256 characters. The absolute path for the destination file is, coming remarkable close to 256 characters.
D:\Package 123456789\tmp\BackupFiles\D\Jan Alphenaar\Mijn documenten\Backup 1234567\Visu
I imagine it is not so easy to set the maximum file length if an application supports multiple operating systems (and thus multiple file systems). But would it be possible to generate an error message like “<file name> filename length to long”, or something similar ? If the filename is too long for the filesystem ?
Check out the limits for each filesystem on http://en.wikipedia.org/wiki/Comparison_of_file_systems
As you probably know I am testing on WinXP, and my file system is NTFS.