Friday, February 3, 2012

lftp linux command hangs after connection during command execution

Error

LFTP command hangs while executing command on EC2 server "FILE at 0 (0%) [Making data connection...]    "

Command: lftp -u USER,PASSWORD -e "mget *; quit" SERVER

Solution

The problem is due to SSL issues, and since i don't need SSL  i managed to switch SSL off, just add this to the command "set ftp:ssl-allow off"

lftp -u USER,PASSWORD -e "set ftp:ssl-allow off; mget *; quit" SERVER


3 comments: