#1198 Initial/occational FTP authentication failure

Fatih Gey


I am using Keepass with a remotely-stored database that KP accesses via FTP. The credentials for the FTP access are "remembered" by KeePass. This setup I have been using with a start-up script (batch file with command-line options) to start keepass for several years now; but since the FTP server has moved to a different server some months ago, I experience the following (unexpected) behaviour:

When I run the script file, the "Open From URL" dialogue pops up, asking for new credentials (URL is set to value given by command-line options), rather than the "Open Database" entitled dialogue window with a passphrase prompt. When this dialogue (and the Keepass instance that starts right-after) are closed and the starting script is re-run, the behaviour is as expected: the passphrase prompt appears immediately. After it has shown expected behaviour once, repetitions (that is, exit Keepass and re-run start script) behave mostly "normal".

While this issue is easily to reproduce with my database (for example, it happens every time after a operating system boot), I was not able to reproduce it on an empty database (filled with generated passwords to match the file size) that I created for demo purposes. This "empty" database has been stored on the same FTP host as my production database.

How I can make this error easily reproducible without sharing my password database? Or any ideas on how to narrow the issue more down?


My setup:
- Keepass 2.24, portable version for Windows
- Windows 7 (Ultimate, up-to-date regarding patches/updates)
- start script content: keepass.exe ftp://xxxxx.de/xxxxx.kdbx -preselect:xxxxxx.key -iocredfromrecent
- database file size: ~180 KB


  • Paul

    Paul - 2013-12-31

    Have you tried the "-ioiscomplete" switch? This prevents the "Open from URL" prompt appearing.

    cheers, Paul

  • Fatih Gey

    Fatih Gey - 2013-12-31

    Adding "-ioiscomplete" switch to the command line fixed the issue. Thank you!

  • Dominik Reichl

    Dominik Reichl - 2014-01-06
    • status: open --> closed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks