# Telnet Action

**URL:** <https://www.finalbuilder.com/forums/t/telnet-action/3071>\
**Category:** Bugs\
**Created:** [February 17, 2009, 7:26am UTC](https://www.finalbuilder.com/forums/t/telnet-action/3071 "2009-02-17T07:26:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)\
**Post date:** [February 17, 2009, 7:26am UTC](https://www.finalbuilder.com/forums/t/telnet-action/3071/1 "2009-02-17T07:26:40Z")

</div>

The telnet action does not seem to work well.   
  
 1) Commands are not executing but the status shows Completed. (tried with a call to CAMUnzip. When doing the same thing manuelly, it works)   
 2) I tried putting a wrong password but the status still shows Completed. (I am doing a telnet to my own PC for test purpose)   
 3) When adding commands in the “Script” tab. The “New” button overrides the first option. So we can’t add more than 1 script.   
  
 Thank you.   
  
 EDIT : I have been able to add a second script entry on the “Script” tab. I was just hitting a bunch of random keys and trying the “new” button and it suddently worked for this one time only. I have not been able to create a 3rd entry though.   
  
 EDIT 2 : I have been able to add more lines now. The first line in the list must contain a “Wait for” value. Only then you can add a new line.   
  
 I also found a new bug, the quick character for “Delete” and “Down” is D for both.

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [February 18, 2009, 1:18am UTC](https://www.finalbuilder.com/forums/t/telnet-action/3071/2 "2009-02-18T01:18:21Z")

</div>

Hi Jonathan   
  
 1) I’m not able reproduce this here… commands do execute as expected. I think this is probably due to the poor documentation on how this action works. The action is quite simple once you understand it.   
  
 The script items can do two things… wait for some text, and send some text. Here’s a typical example (I used my dsl router for this test)   
  
  
 Item 1 (wait for the login prompt and then send the username)   
  
 Wait for : Login:   
 Send : @USERNAME  
 Fail If Timeout Occurs : Yes   
  
 Item 2 (wait for the password prompt and then send the password)   
  
 Wait for : Password:   
 Send : @Password  
 Fail If Timeout Occurs : Yes   
  
 Item 3 (wait for the command prompt and then send a command)   
  
 Wait for : vincent\>   
 Send : user logout   
 Fail If Timeout Occurs : Yes   
  
 Generally if you are using the WaitFor field then you should set it to fail if it timed out.   
  
 3) I was able to reproduce this… looking into it now… it seems to only occur if there is nothing in the WaitFor field of the first item. I guess this wasn’t noticed before (in 8 years of use!) because the first item would usually wait for the login prompt.   
  
 I fixed the duplicate Shortcut key, I will post here when a new build is available with the fixes.

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [February 20, 2009, 7:24am UTC](https://www.finalbuilder.com/forums/t/telnet-action/3071/3 "2009-02-20T07:24:15Z")

</div>

Hi Jonathon   
  
 Here’s a new build with the telnet fixes :   
  
 [https://www.finalbuilder.com/downloads/finalbuilder/620/FB620\_1335.exe](https://www.finalbuilder.com/downloads/finalbuilder/620/FB620_1335.exe)
