Hello,
I run the container using :
docker run -d --name ftpd_server -p 21:21 -p 30000-30009:30000-30009 -e "ADDED_FLAGS=--tls 0" -e "PUBLICHOST=localhost" -e "FTP_MAX_CLIENTS=50" -e FTP_USER_NAME=bob -e FTP_USER_PASS=12345 -e FTP_USER_HOME=/home/bob stilliard/pure-ftpd
but when I run my script to copy file :
HOST=192.168.1.2
USERNAME=bob
PASSWORD=12345
ftp -inv $HOST <<EOF
user $USERNAME $PASSWORD
mput "$TMP_FILE_TO_COPY"
bye
EOF
I get the following error :
Connected to 192.168.1.2.
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 2 of 5 allowed.
220-Local time is now 14:41. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
200 OK, UTF-8 enabled
331 User bob OK. Password required
230 OK. Current directory is /
500 I won't open a connection to 192.168.1.2 (only to 172.17.0.1)
425 No data connection
425 No data connection
221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
221 Logout.
any help please :/
Hello,
I run the container using :
docker run -d --name ftpd_server -p 21:21 -p 30000-30009:30000-30009 -e "ADDED_FLAGS=--tls 0" -e "PUBLICHOST=localhost" -e "FTP_MAX_CLIENTS=50" -e FTP_USER_NAME=bob -e FTP_USER_PASS=12345 -e FTP_USER_HOME=/home/bob stilliard/pure-ftpdbut when I run my script to copy file :
I get the following error :
any help please :/