mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Sourceforge download troubles


From: Matthias Gehre
Subject: Re: [Mingw-cross-env-list] Sourceforge download troubles
Date: Sat, 14 Apr 2012 20:00:46 +0200

I finally found the reason: Some time ago I installed a .wgetrc setting
user_agent = Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101
Firefox/10.0.2

This makes Sourceforge return the html page.

We could pass something like --user-agent="Wget/1.13.4"
to make it independent of .wgetrc's.

Anyway, thanks for your help and sorry for the noise!

2012/4/14 Tony Theodore <address@hidden>:
>
> On 15/04/2012, at 2:00 AM, Matthias Gehre wrote:
>
>> None of
>>
>> wget 
>> http://ncu.dl.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz
>> wget 
>> http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz/download
>> wget 
>> http://downloads.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz
>> make expat SOURCEFORGE_MIRROR=downloads.sourceforge.net
>>
>> worked for me. All returned text/html content.
>>
>> For example
>> wget 
>> http://downloads.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz
>> gives:
>> --2012-04-14 17:58:57--
>> http://downloads.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz
>> Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 
>> 216.34.181.59
>> Connecting to downloads.sourceforge.net
>> (downloads.sourceforge.net)|216.34.181.59|:80... connected.
>> HTTP request sent, awaiting response... 307 Temporary Redirect
>> Location: 
>> http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz/download?use_mirror=kent
>> [following]
>> --2012-04-14 17:58:58--
>> http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz/download?use_mirror=kent
>> Resolving sourceforge.net (sourceforge.net)... 216.34.181.60
>> Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80... 
>> connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 17183 (17K) [text/html]
>> Saving to: `expat-2.0.1.tar.gz'
>>
>> 100%[======================================>] 17.183      --.-K/s   in 0,1s
>>
>> 2012-04-14 17:58:58 (131 KB/s) - `expat-2.0.1.tar.gz` saved [17183/17183]
>
> Strange, the first one times-out, but the other three all work for me. Even 
> things like:
>
> wget 
> http://216.34.181.60/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz/download
> wget 
> http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz/download?use_mirror=kent
> wget http://216.34.181.59/project/expat/expat/2.0.1/expat-2.0.1.tar.gz
>
> all work (though the file names on the first two are download...).
>
> What version of wget are you using? Mine is 1.13.4
>
> Cheers,
>
> Tony
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]