Jump to content

Issue with Httpobject and Telnet in T3D (3.6.1)


JackStone

Recommended Posts

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...