Hi,
I am developing a VB script to access a Unix server to run a series of commands and
ultimately execute a script. I am using the OstroSoft Winsock Component to make the connection
and then I am attempting to log in. The script runs fine when a issue SendData without concatenating
vbCrLf. The problem that presents is I am maintaining my connection (state = 7) which is good, but without the
carriage return / line feed I believe that I am just send a long unrecognized string to the server.
When I have the vbCrLf added the connection closes (state =0). I'm hoping that someone may be able to shed some
light on the issue or help me code it correctly. I am running on Windows 7.
ex. Winsock1.SendData dbrown & vbCrLf
Thanks
David
I am developing a VB script to access a Unix server to run a series of commands and
ultimately execute a script. I am using the OstroSoft Winsock Component to make the connection
and then I am attempting to log in. The script runs fine when a issue SendData without concatenating
vbCrLf. The problem that presents is I am maintaining my connection (state = 7) which is good, but without the
carriage return / line feed I believe that I am just send a long unrecognized string to the server.
When I have the vbCrLf added the connection closes (state =0). I'm hoping that someone may be able to shed some
light on the issue or help me code it correctly. I am running on Windows 7.
ex. Winsock1.SendData dbrown & vbCrLf
Thanks
David