Are there semicolons (:) or "greater" signs (>) displayed at the end of prompts when you Telnet in the regular Telnet terminal? Can you copy and paste prompts from the regular Telnet Terminal? The 24x7 TelnetOpen listens for the text send from the server and compares it to the specified prompts. When the match is found, it sends the specified user name and password. After you tune the prompts correctly, make them exactly as your Telnet server sends them, it should work. To send a carriage return for the "username", try specifying "\n" or "\r", which in run-time will be substituted with a new line or carriage return symbols. For the login prompt specify the last line of the text that you get from the Terminal server before you hit the Enter key. : I have two questions. First of all, I am trying to connect to an Alpha with : the following with no success. : TelnetConfig( "terminal", "show" ) : TelnetConfig( "LOGIN PROMPT", "Username: " ) : TelnetConfig( "PASSWORD PROMPT", "Password: " ) : TelnetOpen( "xx.xx.xx.xx","user","password") : TelnetClose( ) : I am wondering if there is a problem with my TelnetConfig statements. These : are the exact prompts, so I am not sure what it would be. (Ip address, : username and password have been changed to protect the innocent.) : Secondly, I would like to telnet to a terminal server. Upon connection, the : terminal server requires a carriage return and then a password only. Any : ideas on how I can accomplish this. Thanks in advance.
|