Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show empty directory for write-only directories #5

Open
sajagi opened this issue Nov 13, 2024 · 2 comments
Open

Show empty directory for write-only directories #5

sajagi opened this issue Nov 13, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@sajagi
Copy link
Contributor

sajagi commented Nov 13, 2024

Server should return an empty directory when directory is configured as write-only.

Currently the server returns an error which is handled ok-ish in some clients (e.g. WinSCP) but causes some clients to drop connection (e.g. FileZilla) altogether.

Whether or not this will be configurable is under consideration.

@sajagi sajagi added enhancement New feature or request needs-triage labels Nov 13, 2024
@sajagi sajagi self-assigned this Nov 13, 2024
@Krisby
Copy link

Krisby commented Dec 2, 2024

Any updates or estimates on this one yet?

@sajagi
Copy link
Contributor Author

sajagi commented Dec 6, 2024

@Krisby I am currently working on this and have working PoC. Unless there's a major obstacle the feature will be available (probably as opt-in) in version 2.16.0.

Also considering a variant where file and directory structure would be visible but no file could be downloaded (or deleted, depending on whether 'delete' permission is enabled). This would fix the awkward behavior when attempting to overwrite existing (invisible) file.

@sajagi sajagi added this to the NEXT-MINOR milestone Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants