Re: send (General questions)
Eltaghi,
then above code must work - I tested it. In C# it would be something like this:[code]byte[] b = new byte[1];
b[0] = 3;
wodSSH.Send(ref b);
[/code]
Can you try that and tell me what happens?
BTW, if I may have an opinion, I think this is wrong approach. I don't think you should send CTRL+C at all. I would personally find cleaner way to solve those ---More--- lines, such as with 'terminal length 0' command, or using Receive method inside a loop...
Kreso
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