Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML to telnet session and redirecting to file

Status
Not open for further replies.

gcazian

MIS
Dec 4, 2002
61
US
I am writing a script that perfoms admin duties on my Jabber server. I want to be able to connect to my Jabber server through telnet via port 5222 and pass on some XML to the command line. What I need is the output of the telnet session to be redirected to a text file.

Anyone have any ideas?

The reason I ask is because telnet doesn't appear to handle things piped to it well.
 
Have you tried to use expect ?

Hope This Help
PH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top