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

Error listing directory #67

Closed
githubxnoob opened this issue Oct 12, 2023 · 5 comments
Closed

Error listing directory #67

githubxnoob opened this issue Oct 12, 2023 · 5 comments
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@githubxnoob
Copy link

its not working in any ftp clients.
the server is running but i get the following error in clients.

Timeout detected. (control connection)
Could not retrieve directory listing
Error listing directory '/'.
@FinalTek
Copy link

FinalTek commented Dec 6, 2023

same error

@kongkx
Copy link

kongkx commented Dec 23, 2023

@rogervdf
Copy link

I can confirm that the pasv_address is the problem when behind a NAT or routing otherwise

For my own purposes I hotfixed the problem with a Dockerfile as follows..

FROM garethflowers/ftp-server

RUN sed -i -r "s/0.0.0.0/my_external_ip/g" /etc/vsftpd.conf

...and then running this newly tagged/built container instead

it would be better to create an ENV variable somehow to set this variable in an easier way

@scolbeck
Copy link

I also had a problem due to pasv_address=0.0.0.0 being set by default. My containers are in a VLAN and my security cameras created 0 size files because of this. However I also had to remove the pasv_addr_resolve=YES line as well as I think that was setting it to expect a hostname instead of an IP address.

FROM garethflowers/ftp-server:0.7

RUN sed -i -r "s/0.0.0.0/192.168.1.5/g" /etc/vsftpd.conf && sed -i "/pasv_addr_resolve/d" /etc/vsftpd.conf

@garethflowers garethflowers self-assigned this Nov 24, 2024
@garethflowers garethflowers added the duplicate This issue or pull request already exists label Nov 24, 2024
@garethflowers
Copy link
Owner

Duplicate of #14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

6 participants