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
Slash character in FTP username or password #320
Comments
Good catch @simonschllng ! 👍 Thanks to the time spent searching and reporting the solution too. I've opened an issue for the gem of competence. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the ftp password contains a forward slash, all wordmove commands fail with "Name or service unknown". This is because lftp interprets the password as a path.
To fix this, the lftp call has to be rewritten. Current version:
lftp -c 'set ftp:list-options -a; open ftp://[user]:[pass]@[host]; ...'
Slash-save version:
lftp -c 'set ftp:list-options -a; open --user [user] --password [pass] ftp://[host]; ...'
Compare lftp manpage:
The text was updated successfully, but these errors were encountered: