G
Guest
Hi,
I am trying to establish a telnet session to do screen scraping. This device
returns some custom escape sequences, which I can ignore, and some standard
escape seq's. At your suggestion, I used Ethereal and netcap.exe. On
negotiation the server requests ECHO, and also BINARY. When submitting
username, it echos back every charactor I type as I type it. The password
gets an ack on every char typed, but not an echo. After that, echo returns.
When the server sends data, it may send some now, then the rest a few seconds
later. When creating a telnet client in .NET, I receive all of the
custom/standard escape seq chars and the data it is sending. When I send it
data, however, it is not being properly encoded or something. When submitting
my username to login, it rejects it. I can go to a win32 client that works
(but can't be automated without an interactive session) and the same username
password works fine on the same host. The server is some iteration of an old
UNIX OS. Version not available (proprietary).
Hyperterm does fine at default settings, status bar says ANSIW. Windows
Telnet displays everything recieved from the device ok, but rejects whatever
I type in. I suspect it's the ANSIW thing. How can I resolve this? How do I
use ANSIW in .NET 2.0? Does .NET 3.0 support this? Any 3rd party components
support this? I just tried ActiveSockets no luck.
Thanks
I am trying to establish a telnet session to do screen scraping. This device
returns some custom escape sequences, which I can ignore, and some standard
escape seq's. At your suggestion, I used Ethereal and netcap.exe. On
negotiation the server requests ECHO, and also BINARY. When submitting
username, it echos back every charactor I type as I type it. The password
gets an ack on every char typed, but not an echo. After that, echo returns.
When the server sends data, it may send some now, then the rest a few seconds
later. When creating a telnet client in .NET, I receive all of the
custom/standard escape seq chars and the data it is sending. When I send it
data, however, it is not being properly encoded or something. When submitting
my username to login, it rejects it. I can go to a win32 client that works
(but can't be automated without an interactive session) and the same username
password works fine on the same host. The server is some iteration of an old
UNIX OS. Version not available (proprietary).
Hyperterm does fine at default settings, status bar says ANSIW. Windows
Telnet displays everything recieved from the device ok, but rejects whatever
I type in. I suspect it's the ANSIW thing. How can I resolve this? How do I
use ANSIW in .NET 2.0? Does .NET 3.0 support this? Any 3rd party components
support this? I just tried ActiveSockets no luck.
Thanks