Re: send (General questions)
Hi Eltaghi,
Here is corected code:
---------------------------
Ssh1.Blocking = True
Ssh1.Connect
Ssh1.WaitFor( regex:[$ #>] $ );
Ssh1.Execute( enable\n , Password: );
Ssh1.Send( mypassword\n );
outputTxt.Text = Ssh1.WaitFor( regex:[$ #>] $ );
---------------------------
Sorry my mistake I didn't tell you that you need set Blocking Property to True(Ssh1.Blocking = True) and I see that I send you enablen and I mean enable\n and mypasswordn and I mean mypassword\n .
Can you try that code with break point and tell us what is the line where it fals.
Regards,
Drazen