Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
3  
Why do you want to do that? wget or curl would work much better. –  Renan Mar 30 '12 at 0:33
add comment

1 Answer

up vote 2 down vote accepted

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.

share|improve this answer
    
nice work buddy! thanks –  Rachel Richter Mar 30 '12 at 1:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.