PhilippC / PhilippC/keepass2android

FTP(ES) Won't list any files once connected to ftp server [BUG]

Open
#2,585 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
6.2k
Forks
478
Avg merge
1h 4m
Merged PRs (30d)
2

Description

Checks
  • I have read the FAQ section, searched the open issues, and still think this is a new bug.
Describe the bug you encountered:

I am attempting to open a remote database for the first time, via the "Open file..." button on the main screen.

When I put in the connection string and details, it connects but then shows the "Root" directory as "empty".
The FTP user in question is in a chroot so if the "Root" directory is "/" then that should be correct. However, the directory should not be empty.

When I connect with a different FTP client I am able to see and read the *.kdbx files so it is not a permission issue. I can also verify that the connection was successful, as my server logs reveal the authentication was successful.

Describe what you expected to happen:

I expected to see existing files and directories once FTP connection was established.


I am opening this as a new issue because it seems like other FTP((E)S) issues are at least able to view the files.

For additional context I am running my own FTP server using vsftpd

What version of Keepass2Android are you using?

1.10-pre

Which version of Android are you on?

14

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the main-screen "Open file..." button and trace the FTP(ES) connection and remote directory listing path. Reproduce against a vsftpd server using a chrooted FTP user, then compare the app's Root listing with another FTP client. Done means existing directories and .kdbx files appear after authentication.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.