Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auth with defined user but no password fails #298

Open
ggb88 opened this issue Dec 12, 2018 · 1 comment
Open

auth with defined user but no password fails #298

ggb88 opened this issue Dec 12, 2018 · 1 comment

Comments

@ggb88
Copy link

ggb88 commented Dec 12, 2018

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

@sergi
Copy link
Owner

sergi commented Jan 8, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants