Lftp Login authentication failed

I use gitlab-ci to deploy my site to web server over ftp but when i try to copy the files with lftp it says
mirror: Login failed: 530 Login authentication failed
but when i try the same command localy it works fine, any idea if there is some firewall or something blocking the comunication on shared runners?

+1. I got exactly the same issue?

Have you figured out a solution or a workaround for this?

I got the exact same error. I hope my answer helps someone, since for me it was a lame ‘mistake’/issue with lftp…

I couldn’t authenticate because my password of my ftp server contained characters that weren’t ‘supported’. So I changed my password to only alphabetical characters and numbers. This resolved the issue for me.