curl-users
Re: curl and telnet
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 21 Dec 2005 10:23:10 -0800
Date: Wed, 21 Dec 2005 10:23:10 -0800
On Wed, Dec 21, 2005 at 09:15:39AM +0100, Daniel Stenberg wrote:
> I'm quite sure that curl already does exactly this... :-) (I just checked
> the code I didn't actually try this right now.) And unfortunately, there is
> only a USER variable and no PASSWORD one.
Sure enough, it even works! However, the URI syntax which includes the
user name in the URI isn't supported e.g. telnet://user@example.com/
as described by RFC4248.
I did find an RFC (2941) that describes a framework for authentication using
telnet options, avoiding the hack of sending the user name in an environment
variable.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2005-12-21