cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl and telnet

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 20 Dec 2005 12:35:41 +0100 (CET)

On Tue, 20 Dec 2005, Philippe Baudry wrote:

> syntax is curl telnet://<remote>
>
> curl doesn t manage the user password, and it is to user to catch the prompt
> and send the user identification. why?

Because there's no way to do it using the TELNET protocol, and all other ways
to do it requires that you somehow wait or expect some special string from the
server and then sends the password. That special string can be _anything_.

I'd be happy to be proven wrong on this.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-12-20