Comments (11)
Facing the same issue. Does relate to the active passive port configuration. I'm wondering if it's possible to disable passive ports?
from docker-pyftpdlib.
I got it to work with Docker, however not really sure if it had to do with passive/active port configurations. The thing that did it for me was using a masquerade-address which is port address you're hosting your serving the docker container on.
from docker-pyftpdlib.
@griffinkelly do you mind sharing some details. which steps are necessary to achieve your setup?
from docker-pyftpdlib.
Dropped the ball here. Did you figure out your issue? Happy to help
from docker-pyftpdlib.
👋 Sorry, I don't really have enough time to address this issue these days, but it seems like a pyftpdlib
bug or misconfiguration, perhaps it's worth having a look at https://github.com/giampaolo/pyftpdlib issues and pull requests?
from docker-pyftpdlib.
Hi, i'm having the exact same issue, i reproduce this dockerfile and just have the same behavior, but if I run it without the docker it works fine, then, i suppose, like @benpetsch said, could be a passive ports, then, i run the docker using -p 3000-3010:3000-3010 but doesn't work either.
BTW, I'm using filezilla to test it
from docker-pyftpdlib.
I got the same problem here.
I can't visit it by ftp://127.0.0.1:21
.
Here's the code I have used:
docker run -it --rm -p 21:21 --name ftp akogut/docker-pyftpdlib python ftpd.py --anon
from docker-pyftpdlib.
I got the same problem here.
I can't visit it by
ftp://127.0.0.1:21
.Here's the code I have used:
docker run -it --rm -p 21:21 --name ftp akogut/docker-pyftpdlib python ftpd.py --anon
But if I open some ports for docker, it will work as expected.
Here is the right code to start docker image:
docker run -it --rm -p 21:21 -p 3000-3010:3000-3010 --name ftp akogut/docker-pyftpdlib python ftpd.py --anon
from docker-pyftpdlib.
The biggest issue I've had is that the connection, either between pyftplib or docker will drop the connection after 10-15 minutes of using it. It'll reconnect then drop which leads to a frustrating experience.
from docker-pyftpdlib.
Ultimately this is what I ended up using:
options = {'sendfile': False, 'certfile': None, 'settings': None, 'host_port': '0.0.0.0:10021', 'verbosity': 1, 'traceback': False, 'passive-ports': "65000", 'masquerade-address': "0.0.0.0", 'daemonize': False, 'file-access-user': None, 'no_color': False, 'timeout': 600, 'pythonpath': None, 'keyfile': None, 'pidfile': None}
I opened 10021 and 65000 rather than 21, or antoher range.
from docker-pyftpdlib.
Happy to see that other people got the same issue here.
from docker-pyftpdlib.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-pyftpdlib.