Comments (7)
Hey @Gwynevere
Ah yep this is something I run into sometimes too, I think you need to change your docker run command where you have PUBLICHOST=localhost
to PUBLICHOST=192.168.1.2
Let me know if this still doesn't work though, hope it helps.
from docker-pure-ftpd.
Hey @Gwynevere
Ah yep this is something I run into sometimes too, I think you need to change your docker run command where you have
PUBLICHOST=localhost
toPUBLICHOST=192.168.1.2
Let me know if this still doesn't work though, hope it helps.
I did but it doesn't work
docker run -d --name ftpd_server -p 21:21 -p 30000-30009:30000-30009 -e "ADDED_FLAGS=--tls 0" -e "PUBLICHOST=192.168.1.2" -e "FTP_MAX_CLIENTS=50" -e FTP_USER_NAME=bob -e FTP_USER_PASS=12345 -e FTP_USER_HOME=/home/bob stilliard/pure-ftpd
from docker-pure-ftpd.
Ah ok, maybe try using passive mode with the ftp
command with the -p
flag?
Changing from ftp -inv
to ftp -invp
should handle that, worth a try.
from docker-pure-ftpd.
I work with GIt-Bash though, I have the following error, its an unrecognized parameter
Transfers files to and from a computer running an FTP server service
(sometimes called a daemon). Ftp can be used interactively.
FTP [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-A] [-x:sendbuffer] [-r:recvbuffer] [-b:asyncbuffers] [-w:windowsize] [host]
-v Suppresses display of remote server responses.
-n Suppresses auto-login upon initial connection.
-i Turns off interactive prompting during multiple file
transfers.
-d Enables debugging.
-g Disables filename globbing (see GLOB command).
-s:filename Specifies a text file containing FTP commands; the
commands will automatically run after FTP starts.
-a Use any local interface when binding data connection.
-A login as anonymous.
-x:send sockbuf Overrides the default SO_SNDBUF size of 8192.
-r:recv sockbuf Overrides the default SO_RCVBUF size of 8192.
-b:async count Overrides the default async count of 3
-w:windowsize Overrides the default transfer buffer size of 65535.
host Specifies the host name or IP address of the remote
host to connect to.
Notes:
- mget and mput commands take y/n/q for yes/no/quit.
- Use Control-C to abort commands.
from docker-pure-ftpd.
Interesting, on linux bash there's a -p flag but yeah looks like the git-bash on windows doesn't have this flag, maybe it doesn't support it but I think an alternative way to enter passive mode is inside your ftp call, under the user $USERNAME $PASSWORD
line but before the mput "$TMP_FILE_TO_COPY"
line you could try adding this line: passive
.
from docker-pure-ftpd.
its quote pasv
for ftp.exe
in Windows 10, but it doesn't work neither, I'm gonna try to copy with SCP-Script since WinSCP creates files on FTP server just fine.
Thank you @stilliard
from docker-pure-ftpd.
Ah ok, I didn't realise about the windows 10 / git-bash differences for this, I'll have to have more of a look into that some time but glad you have an alternative solution at least.
No problem, let me know if there's anything else I can help with.
from docker-pure-ftpd.
Related Issues (20)
- Connection Refused errors when called within docker HOT 3
- Home directory not available HOT 1
- Please add a new enviroment variable to enable pure-ftpd-virtualchroot HOT 2
- Add Support for FTP HASH command HOT 3
- Possilble to access with SFTP aka with ssh-key file instead of user+password? HOT 2
- How to use RSA private key to connect HOT 1
- Logs & ban user multiple failed logins with fail2ban HOT 6
- Update to bullseye HOT 3
- TLS mode 2 and i can connect whit filezilla in plain mode HOT 4
- FTPs (TLS) causing the connection to throw connection error HOT 3
- "Sorry, but I can't trust you" issue HOT 3
- `passwd` folder changed? HOT 8
- [SOLVED] (not an error) 550 Can't check for file existence HOT 11
- Can't access my FTP from outside HOT 2
- Cannot list directory when new user added. HOT 1
- Slow transfert speed HOT 3
- Annon Access help HOT 4
- No Directory access when in FTP (Anonymous login) HOT 1
- Inactivity Time HOT 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-pure-ftpd.