404 not found in telnet, works fine in browser

Posted by Viranch Mehta on Stack Overflow See other posts from Stack Overflow or by Viranch Mehta
Published on 2010-05-23T19:15:19Z Indexed on 2010/05/23 19:20 UTC
Read the original article Hit count: 367

Filed under:
|
|
|

i am having a very irritating problem, when i open a url ( http://celebs.widewallpapers.net/md/a/adriana-lima/1440/Adriana-Lima-1440x900-002.jpg ) in browser, it works fine.. but when i try to access it by telnet on bash, i get 404 not found!!

my exact terminal:

$ telnet celebs.widewallpapers.net 80

HEAD /md/a/adriana-lima/1440/Adriana-Lima-1440x900-002.jpg HTTP/1.0 [enter] [enter]

HTTP/1.1 404 Not Found

Server: nginx

Date: Sun, 23 May 2010 21:36:05 GMT

Content-Type: text/html; charset=windows-1251

Content-Length: 166 Connection: close

please help me with this as i m trying to make a C batch-downloader, which is almost working as same as the telnet.

© Stack Overflow or respective owner

Related posts about python

Related posts about c