How do I script a telnet session

Bill Vlahos bvlahos at mac.com
Thu Apr 29 02:30:30 EDT 2010


I want to script a session to a network device using telnet in Rev.

The goal is to log into a telnet device like a firewall and issue a command. Are there any examples on how to do this?

I will want to log into a firewall via telnet in Rev with a name and password in a session and issue a "reload" command on the device and then respond to the confirmation Yes or No.

The idea is that I'll use the network and server monitor software (Whistle Blower) to monitor the health of a firewall. If there is a problem with the firewall Whistle Blower will open my compiled application (to protect a login name and password) and it will issue a command to reboot the target server.

Bill Vlahos



More information about the use-livecode mailing list