JackStone Posted January 20, 2016 Share Posted January 20, 2016 Hello,I am working on a simple project which connects to NASA JPL's "Horizons" telnet server to download the position of the planets.I can do this with a regular Windows 10 telnet console easily, and I can connect to the server using HttpObject, but I cant seem to send any queries to the server.With a regular Telnet console, I connect to the servers address (there is no login/password), receive the login screen and information. and I then get a prompt:Horizons>Where I can enter commands.With T3D, I use: $url = "ssd.jpl.nasa.gov:6775"; $URI = "mars"; $query = "mars"; $httpobj.post($url,$URI,$query,"mars");and I get the login screen, but no prompt, and I can't use get (or post, or send) to send the commands that I need to send. I think the issue is the lack of a command prompt in T3D. With a regular telnet client it is "realtime", T3D seems to need intermittent "get" commands, which doesn't seem to be working.Any ideas how to solve this?Thanks! Quote Link to comment Share on other sites More sharing options...
JackStone Posted January 20, 2016 Author Share Posted January 20, 2016 Nevermind, I solved this,I should have been using TCPobject, not HTTPObject, thanks anyway! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.