/
Telnet

Telnet

Telnet



Telnet

This activity sends commands to a remote machine via the telnet protocol.

Activity Parameters

The Telnet activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

  • Commands (text box editor type) (type: string): enter telnet commands to send to the remote machine, separated by semicolons. In this example the workflowlist command was used, which will display a list of applications and services with their Process ID (PID) for all workflows running on the computer where telnet is connected to. For easier editing, the user can use the internal editor via the ellipsis button situated on the right hand side of the edit field, or an external editor of his/her choice (customizable in the Designer Settings) via the button to the left of the edit field ().
  • Hostname (text box editor type) (type: string): the hostname of the remote machine. The target machine should have the Telnet feature enabled (both Client and Server) and the Telnet service started.
  • Password combo box control): the password for the provided username.
  • Password Binding (text box editor type) (type: string): bind to a variable containing the encrypted password. (This parameter is used only when the user wants to send an encripted password from outside the workflow, for example Flowster Portal).
  • Port (text box editor type) (type: int): the communication port for the telnet protocol. Default: 23.
  • Username (text box editor type) (type: string): the username for authentication; if left empty, windows session credentials are used.

The Read Only Output variable are the possible output values that the activity will provide:

  • Output  (type: Collection<String>): stores the output of the telnet commands.
  • Output Status (type: Boolean): outputs the status of the operation.
 


Execution: the activity send the telnet command and output the retrieved results: