4
I'm talking about Windows, not Linux.
I tried:
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?
I am using WGET 1.11.4 for Windows (because there is no other newer version on the web).
http://wget.addictivecode.org/FrequentlyAskedQuestions#Does_Wget_understand_HTTP.2F1.1.3F – Brian Adkins – 2014-03-22T13:32:29.890
have a look at
--header
argument forwget
– phoops – 2014-03-22T13:33:56.267@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 – 2014-03-22T17:27:14.517
Consider switching to
cURL
. – Spiff – 2014-03-22T21:41:39.147