lftp
lftp copied to clipboard
passphrase with spaces and punctuation in .netrc not working
This is Fedora 31 and lftp 4.9.0
If I have a passphrase like this in ~/.netrc
machine blabla.com
login myuser
password Many is more than one.
it doesn't work.
Is there a way to make it work? Thank you.
You can replace spaces with \040
Successfully tested with Fedora 32 and lftp 4.9.1. Thanks a lot.
But what does Next minor version
mean when your suggestion works ok with 4.9.1?
I think double quotes should be also supported, I plan to implement them.
On Sat, 6 Jun 2020 at 19:57, manfredlotz [email protected] wrote:
Successfully tested with Fedora 32 and lftp 4.9.1. Thanks a lot.
But what does Next minor version mean when your suggestion works ok with 4.9.1?
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/lavv17/lftp/issues/585#issuecomment-640089307, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHLWXERUY4CKOGQFMWNFA3RVJYOBANCNFSM4MESYKZA .
-- Alexander.
Aah, understand. Thanks.
I agree it would be good to support double quotes. Would it mean you support a double quote inside a password (aka. passphrase) as \"
? If yes then it would make sense to support single quotes as well where you would accept a single quote inside a password (phrase) as \'
.