How to download a file through Telnet using HTTP request? [closed]

Posted on


I need to download a file, for example: with usage of Telnet and HTTP request. How can I do that?


It has to be Telnet.

Okay, so I figured it out.

telnet 80
GET /debian-cd/7.5.0/amd64/iso-dvd/debian-7.5.0-amd64-DVD-1.iso HTTP/1.0

and double press Enter (that was the part I was missing, the second press of Enter will retrieve data)

However, that still doesn’t get this data into a file, (so almost there but not quite)

Does it HAVE to be telnet? cURL would do a much better, and well designed, job at doing this:

curl -O

Leave a Reply

Your email address will not be published. Required fields are marked *