how to access a specific web page using telnet?

  • Thread starter Thread starter ypjofficial
  • Start date Start date
Y

ypjofficial

Hello All,

I want to retrieve a speicific webpage located on the webserver using
telnet.
(lets say /2006/data/view.html.)
What should be the syntax of the Get request to do the same.?

Thanks and Regards,
Yogesh Joshi
 
Is the web server set up to allow telnet requests? If not, you can't.

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* PLEASE post all messages and replies in the newsgroups
* for the benefit of all. Private mail is usually not replied to.
* My website, such as it is ... http://rgharper.mvps.org/
* HELP us help YOU ... http://www.dts-l.org/goodpost.htm
 
Hello All,

I want to retrieve a speicific webpage located on the webserver using
telnet.
(lets say /2006/data/view.html.)
What should be the syntax of the Get request to do the same.?

Thanks and Regards,
Yogesh Joshi

googling around, I got this.


telnet www.blah.com 80
GET relative_url HTTP/1.0


it works for www.google.com , missing that HTTP/1.0 makes it not work.
Also, GET / (with or without HTTP/1.0) didn't have the right result
either.
 
Richard said:
Is the web server set up to allow telnet requests? If not, you can't.


nah, and your terminology is wrong.

The telnet program can connect to a web server on port 80, it doesn't
just connect to a telnet server on port 23. Of course, it's usually
most useful when connecting to a telnet server. People get more
productivity using a web client to browse the web. Maybe telnet is ok
as an ftp client. Telnet can do it all, but is uniquely good as a
telnet client, becuase the telnet service was meant for human beings to
operate directly.
 
Back
Top