lftp icon indicating copy to clipboard operation
lftp copied to clipboard

mirror: Login failed: 530 Login incorrect.

Open Erathian opened this issue 4 years ago • 0 comments

Hi,

I tried to create deployment to my FTP server using Gitlab pipeline, but even though my username and password are correct (tried in WinSCP), I could not get it done because the login failed. Here is the log:

$ lftp -d -e "set ftp:ssl-allow no; open my.test.domain.uvirt81.active24.cz; user someuser somepass; mirror -X .* -X ./ --reverse --verbose --delete test/ home/; bye" ---- Resolving host address... ---- 2 addresses found: 0000:000:0000:000::00:000, 00.00.00.000 ---- Connecting to my.test.domain.uvirt81.active24.cz (0000:000:0000:000::00:000) port 21 **** Socket error (Network is unreachable) - reconnecting ---- Closing control socket ---- Connecting to my.test.domain.uvirt81.active24.cz (00.00.00.000) port 21 <--- 220 FTP server [uvirt81.active24.cz] ---> FEAT <--- 211-Features: <--- SSCN <--- TVFS <--- MFMT <--- SIZE <--- PROT <--- CCC <--- PBSZ <--- AUTH TLS <--- MFF modify;UNIX.group;UNIX.mode; <--- REST STREAM <--- MLST modify;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*; <--- UTF8 <--- EPRT <--- EPSV <--- LANG ru-RU;en-US;it-IT.UTF-8;it-IT <--- MDTM <--- 211 End ---> LANG <--- 200 Using default language C.UTF-8 initialized translation from ANSI_X3.4-1968 to UTF-8 initialized translation from UTF-8 to ANSI_X3.4-1968//TRANSLIT ---> OPTS UTF8 ON <--- 200 UTF8 set to on ---> OPTS MLST modify;perm;size;type;UNIX.group;UNIX.mode;UNIX.owner <--- 200 OPTS MLST modify;perm;size;type;UNIX.group;UNIX.mode; ---> USER someuser <--- 331 Password required for someuser ---> PASS somepass <--- 530 Login incorrect. ---> PWD <--- 530 Please login with USER and PASS ---> QUIT <--- 221 Goodbye. ---- Closing control socket ---- Connecting to my.test.domain.uvirt81.active24.cz (00.00.00.000) port 21 <--- 220 FTP server [uvirt81.active24.cz] ---> FEAT <--- 211-Features: <--- SSCN <--- TVFS <--- MFMT <--- SIZE <--- PROT <--- CCC <--- PBSZ <--- AUTH TLS <--- MFF modify;UNIX.group;UNIX.mode; <--- REST STREAM <--- MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*; <--- UTF8 <--- EPRT <--- EPSV <--- LANG ru-RU;en-US;it-IT.UTF-8;it-IT <--- MDTM <--- 211 End ---> LANG <--- 200 Using default language C.UTF-8 initialized translation from ANSI_X3.4-1968 to UTF-8 initialized translation from UTF-8 to ANSI_X3.4-1968//TRANSLIT ---> OPTS UTF8 ON <--- 200 UTF8 set to on ---> OPTS MLST modify;perm;size;type;UNIX.group;UNIX.mode;UNIX.owner <--- 200 OPTS MLST modify;perm;size;type;UNIX.group;UNIX.mode; ---> USER someuser <--- 331 Password required for someuser ---> PASS somepass <--- 530 Login incorrect. mirror: Login failed: 530 Login incorrect. ---> PWD <--- 530 Please login with USER and PASS ---> QUIT <--- 221 Goodbye. ---- Closing control socket

Do you have any idea what the problem could be? Thanks a lot :)

Erathian avatar Jul 20 '19 17:07 Erathian