active mode possible?
Hello,
I have the issue that I can connect to the server but if I try to list or something like that I receive a 229 error for passiv mode The ports 40000-40009 are set in my docker run command. would it be possible to set the server to active mode? Or is something wrong on my side?
docker run -d --env FTP_PASS=pass --env FTP_USER=openhab --env PUBLIC_IP=192.168.178.1 --name ftpserver -p 20-21:20-21/tcp -v /var/docker/ftpserver:/home/openhab garethflowers/ftp-server:0.9.2
ftp> ls 229 Entering Extended Passive Mode (|||40000|) ftp: Can't connect to `192.168.178.34:40000': Connection refused
I have the issue that I can connect to the server but if I try to list or something like that I receive a 229 error for passiv mode The ports 40000-40009 are set in my docker run command. would it be possible to set the server to active mode? Or is something wrong on my side?
Are they?
docker run -d --env FTP_PASS=pass --env FTP_USER=openhab --env PUBLIC_IP=192.168.178.1 --name ftpserver -p 20-21:20-21/tcp -v /var/docker/ftpserver:/home/openhab garethflowers/ftp-server:0.9.2
You need to publish the ports of the docker container for passive ftp, like the docs say in the example: https://github.com/garethflowers/docker-ftp-server#-via-docker-run