1

For example if i want to download the picture located at http://yobuddy.dude/Pictures/Motorcycles/15.jpg once i open telnet with

o www.yobuddy.dude 80

what do i do then?

1
  • 3
    Why do you want to do that? wget or curl would work much better.
    – Renan
    Mar 30, 2012 at 0:33

1 Answer 1

2

you could do a request for the individual file by typing:

GET /Pictures/Motorcycles/15.jpg, but, this will pull back the headers and more - you could strip the headers and save the body as a .jpg file, but, it is very awkward.

For example, this is what I see when requesting Google's logo:

enter image description here

(https://www.google.com/logos/classicplus.png)

The best thing you can do is use a program such as Curl which is actually designed for doing this and you could just type "curl http://yobuddy.dude/Pictures/Motorcycles/15.jpg` and it will save the picture directly without any fuss or problems.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .