### Issue with Httpobject and Telnet in T3D (3.6.1)

Scripting questions, discussions, etc

#### Issue with Httpobject and Telnet in T3D (3.6.1)

JackStone
Posts: 67
Joined: Fri Oct 02, 2015 1:03 am
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.

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!

#### Re: Issue with Httpobject and Telnet in T3D (3.6.1)

JackStone
Posts: 67
Joined: Fri Oct 02, 2015 1:03 am
Nevermind, I solved this,I should have been using TCPobject, not HTTPObject, thanks anyway!

#### Who is online

Users browsing this forum: No registered users and 1 guest