Re: Exception :: Timeout occurred due to i - WeOnlyDo Discussion board

Re: Exception :: Timeout occurred due to i (General questions)

by wodDamir, Wednesday, July 25, 2012, 21:33 (2155 days ago) @ Jairo Martinez

Hi Jairo,

Actually, the exception is thrown since wodSSH.Netnever receives the prompt specified.

However, what happens if you try something like this:

ssh.WaitFor( admin: , 10);
ssh.DataReady = 0;
ssh.Execute( call state\r\n , admin: , 10);

Please note that when 3rd parameter (timeout) is specified, component will not disconnect. It will proceed with the code (provided that you have global Timeout property set to higher value).


Complete thread: