View Single Post
  #6  
Old 09-21-2015, 11:30 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,306
Hi Peter,

Thanks for the update and output. I didn't realize where the error was occurring. Script language error handling is intended to handle errors that are local. The error you are seeing is not a local error. It is an error on a remote system, and SecureCRT has no knowledge of the error.

To handle this problem, you will need to create a solution that sends a command, then enters a Do...Loop and handles all possible responses using WaitForStrings() rather than WaitForString().

Here is an example of this concept that might help you create your own solution:
https://forums.vandyke.com/showthrea...7087#post37087
The lines that may help are 108 to 172.

Does this help you create your own scripting solution for the remote errors?
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote