I control the SX20s by telnet and have discovered that the telnet service mysteriously turns off sometimes. We then have to go into the browser and turn on the service again.
I am trying to connect via port 80 (from the control processor) to turn on the telnet service. There is not much information in the SX20 reference on http or xml control.
I was able to use connect and get a config (by trial and error and experience with other devices)
I used:
'GET /configuration.xml HTTP/1.1',$D,$A,'HOST:127.0.0.1',$D,$A,'Authorization: Basic YWRtaW46YWRtaW4=',$D,$A,$D,$A
This command over port 80 does work and I get an appropriate response. I have had no luck with a POST command to do anything.
I followed an example in the API verbatim and it did not work.
I am looking to create a command for port 80 that turns on telnet service (and authenticates as admin as shown above). Can anyone help?
Thanks in advance,
Jim