Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OS 2 OS comunications

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have a developer asking for a Unix command that can be entered from the Unix command line that will allow comunication with a Windows Web Server. He said in the past he was able to get the following to work:

telnet host port < commandsfile

The command file had these lines in it:
&quot;GET / HTTP/1.1&quot;
&quot;Host: telnethost&quot;

I have not been able to get this to work. Is there another command other than telnet that would allow this comunication?

Thanks
 
Lynx? Netcat?

note that HTTP/1.1 requires full server name in request - so this script works on broken servers

i use
$nc proxy 8080

CONNECT irc.provider.xx:6677 HTTP/1.0

blah blah
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top