Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm talking about Windows, not Linux.

I tried:

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

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?

I am using WGET 1.11.4 for Windows (because there is no other newer version on the web).

share|improve this question… – BrianAdkins Mar 22 '14 at 13:32
have a look at --header argument for wget – phoops 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

It appears HTTP 1.1 is not supported in your version. From

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 on Windows via Cygwin?

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .