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.

I'm talking about Windows, not Linux


wget -O X:/test/some/dir/file.txt --tries=3 -c http://some.com/dir/data.txt
wget -O X:/test/some/dir/file.txt --tries=3 http://some.com/dir/data.txt
wget -O "X:/test/some/dir/file.txt" --tries=3 http://some.com/dir/data.txt

Result: Wget is talking "GET /dir/data.txt HTTP/1.0". Not HTTP/1.1. I want to force wget to use HTTP/1.1. How can I do this?

Using: WGET 1.11.4 for Windows (because there is no other newer version on the web)

share|improve this question
wget.addictivecode.org/… –  BrianAdkins Mar 22 '14 at 13:32
have a look at --header argument for wget –  edvinas.me Mar 22 '14 at 13:33
@edvinas - Its a bad idea to pass an HTTP/1.1 header, if wget doesn't specifically support it. HTTP 1.1 introduces chunked encoding which is likely to result in truncated downloads when operating in HTTP 1.0 mode –  carpii Mar 22 '14 at 17:27
Consider switching to cURL. –  Spiff Mar 22 '14 at 21:41

1 Answer 1

It appears http 1.1 is not supported in your version

From http://en.wikipedia.org/wiki/Wget

Wget 1.13, released August 2011, supports HTTP/1.1, fixed some portability issues, and used the GnuTLS library by default for secure connections.[12]

Can you get a newer version of wget in windows via Cygwin?


share|improve this answer

Your Answer


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.