Error while transfering ftp + ssl using lftp flient
lftp put: 'Access failed: 521 Data connections must be encrypted'
# Start lftp as below
Shell >>lftp -u user ftp.domain.com -e "set ftp:ssl-protect-data true"
#Transfer file
lftp :~> put -a filepath
Other Usefull links
http://lftp.yar.ru/
Solution By Aliasgar Jiruwala
Thanks Hemant, Aliasgar.
ReplyDeleteThat was helpful as not much info available for lftp.
I still don't understand why I was getting the error intermittently without the additional option. Not sure if I will get time to investigate further on this.
Rakesh