[nzlug] How to run scipts in telnet?

Andrew Errington a.errington at lancaster.ac.uk
Mon Feb 25 14:00:33 NZDT 2008


On Mon, February 25, 2008 08:20, Raimund Eimann wrote:
> I've got an application that can be accessed via telnet (not a shell). I
> would like to send some commands (on a regular basis) to that application
> through the telnet interface. Is there a way to process scripts with
> telnet?

How about netcat?  If your requirements are simple enough you can use
netcat to send a string, and then parse the response.

HTH,

A




More information about the NZLUG mailing list