jsftp icon indicating copy to clipboard operation
jsftp copied to clipboard

auth with defined user but no password fails

Open ggb88 opened this issue 7 years ago • 1 comments

Hi,

If I attempt either

Ftp.auth("ggb", "", function(hadErr) 
Ftp.auth("ggb", null, function(hadErr)

jsftp fails auth, even though filezilla succeeds.

If I add a password to the user ggb and then try Ftp.auth("ggb", "passsword", function(hadErr) it works as expected

How should I be handling the case of an undefined password for a specific user?

Thanks

ggb88 avatar Dec 12 '18 23:12 ggb88

Do you mean that the user doesn't have a password set in the ftp server?

sergi avatar Jan 08 '19 10:01 sergi