404 not found in telnet, works fine in browser
- by Viranch Mehta
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.