Pure-FTP just now was hanging for me upon
login. I found the following web page:
lftp and pureftp stops
at making data connection
The following suggestion is the one that
did the trick for me:
set ftp:ssl-allow off
I added this to the rightmost part
of the command line:
-e "set ftp:ssl-allow off"
It worked.
Update: March 15, 2014
For whatever reason, I'm having the exact same problem—Pure-FTPd hangs on login. However, this time turning off SSL is not working.
Here's what is working:
-e "set ftp:passive-mode off"
See comment below from Francesco for an alternative way to do the same thing.
Also note that the above link suggests the opposite. The above link suggests that you turn passive mode on rather than off.
This would seem to suggest at least 3 possible reasons why lftp might hang on login with Pure-FTPd:
- SSL is on and needs to be turned off
- Passive mode is on and needs to be turned off
- Passive mode is off and needs to be turned on
Note that all 3 scenarios above are probably distinct FTP servers, each at a different hosting company.
I'm sure someone has a better explanation than I do as to why this is so. For now, I'm just going to assume that each case above is an FTP server that is cnfigured a little bit differently.
Ed Abbott
Thanks, your solution solve my similar problem. Because as tried to login with lftp, the lftp is hanging there with [Logging in...] message.
ReplyDeleteI had a similar issue - I added
ReplyDeleteset ftp:ignore-pasv-address yes
and it seemed to work with TLS encryption
thank you very much: your hint really helped me to connect to a client website. you probably know but it is possible to simply put the line
ReplyDeleteset ftp:ssl-allow off
in the ~/.lftp/rc file (I use GNU/Linux so I do not know where is this file in windows)
Francesco