Error after canceled FTP sync
A lightweight and easy-to-use password manager
Brought to you by:
dreichl
Suggestion:
I don't know, how exactly you sync, but if you download, sync and then upload the synced file again it would help to upload it as <db_name>.tmp and delete the origin / rename the tmp after the upload. The chance for an error in the half second of the delete / rename will very small.
Of course it would help too, if you prevent standby while syncing but there could a network connection error that causes corrupt FTP files, so this would be only an additional point.
best regards
Thomas
That is how the sync works, unless you turn off file transactions, or have .NET 4.
http://keepass.info/news/n130720_2.23.html
cheers, Paul
Like Paul wrote.
The .NET 4 bug preventing KeePass from using file transactions for FTP URLs is here:
https://connect.microsoft.com/VisualStudio/feedback/details/621450/problem-renaming-file-on-ftp-server-using-ftpwebrequest-in-net-framework-4-0-vs2010-only
Best regards,
Dominik