Skip to main content

Telnet

Telnet task is used to communicate with a remote server by exchanging commands and receiving responses throughout the TCP/IP network.

Once connected the task will execute provided python script, trigger the yellow port and then close the connection.

main

Host
It is the host name to be passed to the constructor to establish the connection to the server.

Port
It is the port number to be passed to the constructor to establish the connection to the server.

Time out
This parameter is optional and specifies a timeout in seconds for blocking operations like the connection attempt (if not specified, the global default timeout setting will be used).

Script data
It is a python script to be performed. See telnetlib documentation for more info on how to write the script. (https://docs.python.org/3.9/library/telnetlib.html#telnet-example)