PDA

Bekijk de volledige versie : telnet with redirect of stdin and stdout: is it possible?



RoofCat
30-01-2005, 21:19
Good day,

Is it possible to use telnet on Wl500g together with redirecting stdin and stdout from/to files? FW version I use is Oleg's 1.9.2.7 CR3b.

What I need to do is to automate some routine tasks on LAN and I am thinking about doing smthg like


cat telnet.in.cmds | telnet 192.168.1.10 > telnet.results

where telnet.cmds contains few strings to request info from 192.168.1.10 and telnet.results I hope will contain answers.

Is it possible to do this with custom firmware's programs or should I use smthg special?

Thanks in advance,

Regards,Roofcat