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.
Anyone have any ideas?
The reason I ask is because telnet doesn't appear to handle things piped to it well.