| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Re: Telnet scripting with PHP
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 22 Feb 2002 13:28:51 +0100 (MET)
On Fri, 22 Feb 2002, Per Auberg wrote:
> Anyone tried to make telnet execute telnet commands ?
Well, I have. Sort of. (*surprise*)
> I dream of setting up a scripting engine against our many routers, saving
Yes and no. I don't have any PHP experiences, but I do have a general idea
I'll rant a little here to provide a more complete picture of the whole
TELNET differs from the other protocols in the curl family of supported
libcurl has not been properly designed (or adjusted) to handle protocols like
The libcurl TELNET support will read data on *stdin* and pass to the remote
So, to automate telnet with curl, you need:
Then you'll get the data the host sends you the "normal" way, while you need
I hope you this was informative enough.
I am not a PHP hacker.
--
Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-02-22
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info