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

Slash character in FTP username or password #320

Open
simonschllng opened this issue Jun 10, 2016 · 2 comments
Open

Slash character in FTP username or password #320

simonschllng opened this issue Jun 10, 2016 · 2 comments
Assignees
Projects

Comments

@simonschllng
Copy link

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:

            --user user       use the user for authentication
            --password pass   use the password for authentication
@alessandro-fazzi
Copy link
Member

Good catch @simonschllng ! 👍

Thanks to the time spent searching and reporting the solution too.

I've opened an issue for the gem of competence.

@stale
Copy link

stale bot commented Apr 16, 2022

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
Projects
v6.0
  
To do
Development

No branches or pull requests

3 participants