-
Notifications
You must be signed in to change notification settings - Fork 57
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
Password that gets escaped (escape set true) fails authentication #49
Comments
I've had the exact same issue, it's your comment that diagnosed the issue for me. I tested with raw() ls() and put() looks like every param values must be getting escaped... Liam |
Same for me too: password with escaped characters make my system impossible to connect.
I can see there is no update since 3 years, but if this post message can help some of you, it is great! Except this password problem, this SFTP is well done and works very fine. |
That's because you don't want to escape your password. Use bareCredentials option:
|
I happened to have a password to one site containing the string "&". With escape enabled this resulted in a the password sent to lftp being escaped which resulted in authentication failing. I changed the password to work around this but I worry there may be other password escaping glitches with escaping enabled causing lftp to fail to authenticate.
Note that this happened when using execAsStream() if that matters.
The text was updated successfully, but these errors were encountered: