KeePass fails to upload a passfile to my FTP server which is run by vsftpd on Debian.
Here is the traffic log after keepass had downloaded the previous version of passfile and synchronized with it locally.
In this log KeePass uploads the new passfile to a temp file, deletes the old passfile and tries to rename the tempfile, but fails
220 (vsFTPd 2.3.2)
331 Please specify the password.
230 Login successful.
OPTS utf8 on
200 Always in UTF8 mode.
200 Switching to Binary mode.
227 Entering Passive Mode (1,2,3,4,33,70).
150 Ok to send data.
226 Transfer complete.
250 Delete operation successful.
RNFR /passfile.kdbx.tmp ; note the leading slash
550 RNFR command failed.
500 OOPS: vsf_sysutil_recv_peek: no data
500 OOPS: priv_sock_get_cmd
I think the problem is that KeePass tells FTP server to rename "passfile.kdbx.tmp" in the root directory, because FTP server thinks that it has been given an absolute path with leading slash.