Re: netrc and password containing whitespace

2016-03-24 Thread Lele Gaifax
Random832 writes: > The implementation seems very basic... I ran into trouble trying to > store entries with no password (with the idea in mind of having my > program prompt for the password), though, out of curiosity, does ftp > handle your quoted passwords? Uhm, dunno :-) I think it's been mor

Re: netrc and password containing whitespace

2016-03-24 Thread Random832
On Thu, Mar 24, 2016, at 06:14, Lele Gaifax wrote: > I tried to insert an entry in my ~/.netrc for an account having a > password that contains a space, something like: > > machine my-host-name login myname password "My Password" > > The standard library netrc module does not seem able to parse i

netrc and password containing whitespace

2016-03-24 Thread Lele Gaifax
Hi all, I tried to insert an entry in my ~/.netrc for an account having a password that contains a space, something like: machine my-host-name login myname password "My Password" The standard library netrc module does not seem able to parse it, raising a NetrcParseError. Other programs (Emacs,