Hi all,
First of all, KeePass is indeed an incredibly great tool!
Following problem with getting KeePass 2.38 download a database file from a Fritzbox 7490 using an FTPS connection (using IOProtocol v1.12 plugin): KeePass finds the database but after entering the credentials it returns the error message "Failed to load the specified file! The file header is corrupted. Less data than expected could be read from the file."
I have set FTPS "Explicit TLS/SSL" to "Yes". If I open WinSCP.exe from the IOProtocolExt_WinSCP folder I can connect, download the database file and open that local copy with KeePass without any problems.
I have read about this issue (bug?) in other threads but apparently haven't come accross a solution.
Can anyone tell me what's wrong or how to make KeePass open the database correctly?
Much appreciated.
Markus
Hi Dominik, it work for me too. :-)
Thx so much
sorry pls wait, I did an update of database and got an error. Is seems is the same error when open the database, but now during the save/update.
Glad to hear that at least opening works now :-)
Christian, the asterisk is currently only prepended for the 'get' command. Is it required for other commands ('put', 'rm' and/or 'mv'), too?
Thanks and best regards,
Dominik
@Dominik: I don't know, I'm a little bit busy and will be on vacation next week. Perhaps I can do it this week or in 2 weeks later and hope to find the right test environment/commands.
Best regrads Christian
Update. I take the time for some short tests hope it helps you.
"get "*FritzDatenbank.kdbx" "C:\Users\Christian\Desktop\VonFritzNAS.kdbx"" ^
"mv "*FritzDatenbank.kdbx" "FritzDatenbank.kdbx.tmp"" ^
"rm "*FritzDatenbank.kdbx.tmp"" ^
"put "C:\Users\Christian\Desktop\VonFritzNAS.kdbx" "FritzDatenbank.kdbx"" ^
Hope you see the asterix, I put an backslash in front of it.
ciao Christian
Last edit: Christian 2018-05-02
Ok, thanks! I've now added the asterisk workaround for 'mv' and 'rm', too (i.e. it's now used for 'get', 'mv' and 'rm').
Here's the latest IOProtocolExt development snapshot for testing:
https://keepass.info/filepool/IOProtocolExt_180503.zip
Does everything work fine now?
Thanks and best regards,
Dominik
Hi Dominik, thanks for the quick implementation of changes. After saving the DB I got an "Ausnahmefehler", continue or end was then possible. It seems the DB was saved correct. Attached you find the a log from the "Ausnahmefehler".
The DataBaseBackup plugin doesn't use KeePass' I/O infrastructure (it tries the web client implementation of the .NET Framework instead, which results in IOProtocolExt being used partially only), so it's no surprise that this doesn't work.
Please test it without the DataBaseBackup plugin.
Thanks and best regards,
Dominik
Last edit: Dominik Reichl 2018-05-03
Hi Dominik, yes you are right, I deactivated the DataBaseBackup plugin, and then it works without errors. What do you think, how to publish it for everyone, and give the hint with no DataBaseBackup support?
Thanks very much for you help and make a Fritzbox to winscp (in batch only) incompatibility to work fine now.
Christian
Ok, great, thanks for testing it. I'll publish a new IOProtocolExt release in a few days.
I've added an incompatibility note in the DataBaseBackup listing:
https://keepass.info/plugins.html#databasebackup
Best regards,
Dominik