Would it not be handier to use rsh or ssh for this:
rsh -l user yourhost some_command > filewithoutput.txt
The command will be run remotely and the output will go into the local file.
If your very lazy you can even use a .rhosts files, in which case you don't even have to type in the password. Though this is not very secure. However since you are using telnet I guess you are not that worried about security.
Have Fun
In reply to RE: Net::Telnet problem
by gumpu
in thread Net::Telnet problem
by daemonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |