Open simonschllng opened 8 years ago
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.
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: