Re: send (General questions)
Hello Kreso,
Your Code is working fine:
----------------------
byte[] b = new byte[1];
b[0] = 3;
Ssh1.Send( b );
-------------Thanks---------
Also, sending:
Ssh1.Send( \b );
OR
Ssh1.Send( ^ );
Do the same job. I found some code that call Ssh1.Receive after disconnection, so I thought it was from Ssh1.Send( \b ); or Ssh1.Send( ^ );.
--------------------
Now I have two issues:
1. Some times when I click the GO Button to send a command, I did not get the response, but when I click for the second time I get the response twice. That means the first command sent properly.
2. I would like to use or understand the use of:
* WaitFor method
* Prompt property
* PromptReceivedEvent
To be used in this scenario:
------------:
The More Button is disabled by default. So when the prompt --More-- received from the server, the More Button should go enabled.
Thanks
Complete thread:
- send enable command to Cisco router with enabl - eltaghi, 2006-04-08, 13:42
- Re: send - wodDrazen, 2006-04-08, 15:24
- Re: send - eltaghi, 2006-04-08, 16:57
- Re: send - woddrazen, 2006-04-08, 17:35
- Re: send - eltaghi, 2006-04-08, 17:48
- Re: send - woddrazen, 2006-04-08, 17:58
- Re: send - eltaghi, 2006-04-08, 18:07
- Re: send - wodDrazen, 2006-04-08, 18:48
- Re: send - wodSupport, 2006-04-08, 22:34
- Re: send - eltaghi, 2006-04-08, 23:39
- Re: send - wodDrazen, 2006-04-08, 23:47
- Re: send - wodDrazen, 2006-04-10, 13:11
- Re: send - eltaghi, 2006-04-11, 07:54
- Re: send - wodDrazen, 2006-04-10, 13:11
- Re: send - wodDrazen, 2006-04-08, 23:47
- Re: send - eltaghi, 2006-04-08, 23:39
- Re: send - wodSupport, 2006-04-08, 22:34
- Re: send - wodDrazen, 2006-04-08, 18:48
- Re: send - eltaghi, 2006-04-08, 18:07
- Re: send - woddrazen, 2006-04-08, 17:58
- Re: send - eltaghi, 2006-04-08, 17:48
- Re: send - woddrazen, 2006-04-08, 17:35
- Re: send - eltaghi, 2006-04-08, 16:57
- Re: send - wodDrazen, 2006-04-08, 15:24