Repeat Characters showing up in input stream - WeOnlyDo Discussion board

Repeat Characters showing up in input stream (wodSSH / wodSSH.NET)

by bmclellan, Tuesday, November 04, 2008, 05:26 (5865 days ago)

Hello,

I am having an issue with repeating text showing up when a break in the receive happens and splits apart a string of text. In my routine, I receive data and if I see a pause, I grab the ready data and go back to the top of my retrieve routine. In some cases, I retrieve the data in the middle of a text stream which causes the issue below.

When I use the command: objSSH.peek I see this below:
[7;32H20 [7;44HVI Set20
[8;32H22 [8;44HServicccccccccccccccccccccccccc <- repeating text

When I check the objssh.DebugFile debug file I see:
[7;32H20 [7;44HVI Set20
[8;32H22 [8;44HServic
Got 1460 bytes
e Desk Fw
[9;32H23 [9;44HField Test


In the next loop to get more data, the input received would be:
e Desk Fw [ has HEX 0A 0D added into the string as well!]
[9;32H23 [9;44HField Test

Thanks for your help!
Barry


Complete thread: