FubarDevelopment / FtpServer

Portable FTP server written in .NET
http://fubardevelopment.github.io/FtpServer/
MIT License
473 stars 161 forks source link

Is there a way to make server work without pasv #66

Closed arthurvaverko-kaltura closed 5 years ago

arthurvaverko-kaltura commented 5 years ago

Im having trouble running docker image with mapping of pasv ports. If you do docker run -p 3000-4000:3000-400 -p 21:21 myFTPimage

The command will hand for a while and then fail As the docker engine will not be able to create so many port mapping ..

So I figured there must be a way to configure the server to work without pasv. Is there ?

fubar-coder commented 5 years ago

Two solutions:

Be aware that ACTIVE data connections usually only work when you're in the same network as the FTP server, because the FTP server actively creates a TCP connection to the client. So, the client has to listen at a selected port and the firewall (on the client and/or server) must not get in the way.