[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problems downloading tarball with curl

From: Christian Schaffner <chris01_at_users.sourceforge.net>
Date: 2003-09-25 17:41:24 CEST

On Donnerstag, September 25, 2003, at 05:34 Uhr, John Peacock wrote:
> Christian Schaffner wrote:
>> curl --max-redirs 1 -f -L -O
>> http://subversion.tigris.org/files/documents/15/6494/subversion-
>> 0.30.0.tar.gz
>> % Total % Received % Xferd Average Speed Time
>> Curr.
>> Dload Upload Total Current Left
>> Speed
>> 100 442 100 442 0 0 509 0 0:00:00 0:00:00
>> 0:00:00 0
>> 0 0 0 0 0 0 0 0 --:--:-- 0:00:00
>> --:--:-- -2177
>> curl: (47) Maximum (1) redirects followed
>> Or did you mean something else?
>
> Yes, I meant a _higher_ number, not a lower number! You want curl to
> follow the redirects, since that is the only way it works (even with
> wget).
>
> $ curl --max-redirs 3 -f -L -O
> http://subversion.tigris.org/files/documents/15/6494/subversion-
> 0.30.0.tar.gz
> % Total % Received % Xferd Average Speed Time
> Curr.
> Dload Upload Total Current Left
> Speed
> 0 442 0 0 0 0 0 0 --:--:-- 0:00:00
> --:--:-- 0
> 0 442 0 0 0 0 0 0 --:--:-- 0:00:00
> --:--:-- 0
> 100 7278k 100 7278k 0 0 153k 0 0:00:47 0:00:47
> 0:00:00 155k

Well, strange. Of cause I also test higher numbers (up to 100). Here is
what i get with 3:

% curl --max-redirs 3 -f -L -O
http://subversion.tigris.org/files/documents/15/6494/subversion-
0.30.0.tar.gz
   % Total % Received % Xferd Average Speed Time
  Curr.
                                  Dload Upload Total Current Left
  Speed
100 442 100 442 0 0 506 0 0:00:00 0:00:00
0:00:00 0
   0 0 0 0 0 0 0 0 --:--:-- 0:00:00
--:--:-- -2188
100 435 100 435 0 0 418 0 0:00:01 0:00:01
0:00:00 -5
   0 0 0 0 0 0 0 0 --:--:-- 0:00:00
--:--:-- -303
curl: (47) Maximum (3) redirects followed

Why does it work on your computer and not on mine? What version of curl
do you have? I have:

% curl --version
curl 7.10.7 (powerpc-apple-darwin6.6) libcurl/7.10.7 OpenSSL/0.9.7b
ipv6 zlib/1.1.3
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: IPv6 SSL libz NTLM

I have no idea what that could be,
chris.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 25 17:47:22 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.