problem with dowloading 700MB file HTTP 406 Not Acceptable
-
Hi!
How can I download that file? Web Server refuses with HTTP 406
http://starmacco.files.wordpress.com/2011/10/downloads.jpgKindly see my wget session, please.
robert@ice ~ $ wget http://starmacco.files.wordpress.com/2011/10/downloads.jpg
–2012-10-02 23:04:55– http://starmacco.files.wordpress.com/2011/10/downloads.jpg
Resolving starmacco.files.wordpress.com (starmacco.files.wordpress.com)… 207.198.113.216, 207.198.113.234, 207.198.113.223
Connecting to starmacco.files.wordpress.com (starmacco.files.wordpress.com)|207.198.113.216|:80… connected.
HTTP request sent, awaiting response… 406 Not Acceptable
2012-10-02 23:04:56 ERROR 406: Not Acceptable.Also attempt of downloading part of the file gives same result:
curl -v –range 0-500 http://starmacco.files.wordpress.com/2011/10/downloads.jpg -o out
* About to connect() to starmacco.files.wordpress.com port 80 (#0)
* Trying 216.151.210.124… % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 –:–:– –:–:– –:–:– 0connected
> GET /2011/10/downloads.jpg HTTP/1.1
> Range: bytes=0-500
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: starmacco.files.wordpress.com
> Accept: */*
>
< HTTP/1.1 406 Not Acceptable
< Server: nginx
< Date: Tue, 02 Oct 2012 22:18:34 GMT
< Content-Type: image/jpeg
< Content-Length: 814849612
< Connection: keep-alive
< Last-Modified: Fri, 21 Oct 2011 18:50:36 GMT
< Expires: Wed, 24 Oct 2012 00:23:34 GMT
< X-Orig-Src: 01_mogdir
< Accept-Ranges: bytes
< X-Content-Checks: 0,1Kind Regards
Robert Starmach
Blog url: http://starmacco.wordpress.com/The blog I need help with is: (visible only to logged in users)
-
That’s because the file is not really any image.
You’re getting around our file security protocols by giving every file a .jpg extension, which works for the upload, but not for the download as our image servers are only configured to serve image files.
Thank you for pointing that out to us.
Please note that you can now upload and serve .zip files if you have a space upgrade.
- The topic ‘problem with dowloading 700MB file HTTP 406 Not Acceptable’ is closed to new replies.