-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for passive FTP #236
Comments
Passive mode is the default (I thought) for both ftp and pftp. If I check the ftp manual
Is your connection trying to use active ? |
I am using Ubuntu 12.04 LTS, my ftp client is 0.17-25 and by default it starts in active mode. My man page for ftp is a little different and it states: But to be honest, my ftp client is a rather old version. Still I am a bit puzzled since I see that setting default to passive was done already in 2010. Anyway I think the issue can be closed since it probably does not make much sense to support such an old version. |
Thanks for the update. I'll close this as an "issue" but I'll have a look if there is a sensible way to allow flags etc on the ftp command. From a security viewpoint. I'd suggest updating your FTP client of course, and if possible changing to SFTP or SSSH as that would also allow you to transfer the certificates securely ( which teh script doesn't allow via FTP as it's not secure ) . |
Just wanted to give a quick update the even with Ubuntu 18.04 LTS, the default
Note that it does not say anything about starting up in passive mode by default. In my case, a client of mine has a hosting provider that does not provide SFTP or SSH access; the only options are FTP in passive mode and FTPS (i.e. FTP with a TLS layer on top of it). Since FTPS is not supported by |
Thanks for you feedback @ntamas I will reopen that issue. Working in passive mode should be IMHO default, don't know where active mode would work seamless.. I'm still not sure if we should fix this to be default in passive mode by default or introduce a new parameter or flag for setting FTP into passive mode. |
There is a PR in #275 |
Thanks, subscribed! |
Still have this problem with Debian 10 installed in WSL2 on Windows |
Adding:
in |
In FTP configuration, getSSL will try to use active FTP connection to transfer ACME file to server.
But in reality connection to web hosting servers is usually only possible through Passive FTP mode.
The result of this is that ACME file will not be successfully transferred.
Would it be possible to add an option to also support passive FTP by using pftp or by adding -p option.
The text was updated successfully, but these errors were encountered: