Name
telnet
Synopsis
Executes a telnet session.
Attributes
-
initialcr
(1.3, 1.4, boolean, N) If
true
, send a carriage return character after connecting. Defaults tofalse
.-
password
(1.3, 1.4, String, N) The login password.
-
port
(1.3, 1.4, int, N) The port number of the server. Defaults to 23.
-
server
(1.3, 1.4, String, Y) The hostname to connect to.
-
timeout
(1.3, 1.4, int, N) Number of seconds to wait before timing out. Defaults to no timeout.
-
userid
(1.3, 1.4, String, N) The login name.
Content
- 0..n nested
<read>
elements (1.3, 1.4) Each contains a string of text to wait for from the server.
- 0..n nested
<write>
elements (1.3, 1.4) Each contains a string of text to send to the server.
Get Ant: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.