cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Partial Downloads

From: Dejan Tolj <dejan1_at_gmail.com>
Date: Sat, 29 Jan 2011 12:34:27 -0500

Hi Dan, to answer your question i had selinux disabled, and the source
was taken from the original downloads
http://curl.haxx.se/download/curl-7.21.3.tar.gz
not SRPM.

I followed Kamils link and was able to install the latest curl on RHEL5.
However the range param still dosn't work fully, except "-XXXXX"

$curl -v ftp://eeeeeee/aaaa.wmv -r 0-100000 > asdf

* About to connect() to proxy 10.224.135.86 port 3128 (#0)
* Trying 10.224.135.86... % Total % Received % Xferd Average
Speed Time Time Time Current
                                Dload Upload Total Spent Left Speed
 0 0 0 0 0 0 0 0 --:--:-- --:--:--
--:--:-- 0connected
* Connected to 10.224.135.86 (10.224.135.86) port 3128 (#0)
* Proxy auth using Basic with user 'user1'
> GET ftp://eeeeeee/aaaa.wmv HTTP/1.1
> Proxy-Authorization: Basic cmVkaGF0LXVwZGF0ZTp0YWhkZXI=
> Range: bytes=0-100000
> User-Agent: curl/7.21.3 (i686-redhat-linux-gnu) libcurl/7.21.3 OpenSSL/0.9.8b zlib/1.2.3 c-ares/1.7.4 libidn/1.19 libssh2/1.2.7
> Host: eeeeeee:21
> Accept: */*
> Proxy-Connection: Keep-Alive
>
* HTTP 1.0, assume close after body
< HTTP/1.0 200 Gatewaying
< Server: squid/3.0.STABLE19
< Mime-Version: 1.0
< Date: Sat, 29 Jan 2011 17:27:43 GMT
< Content-Type: text/plain
< Content-Length: 254056909
< Last-Modified: Mon, 04 Oct 2010 20:40:46 GMT
< X-Cache: MISS from 10.224.135.86
< Via: 1.0 10.224.135.86 (squid/3.0.STABLE19)
* HTTP/1.0 proxy connection set to keep alive!
< Proxy-Connection: keep-alive
<
{ [data not shown]
 2 242M 2 7103k 0 0 3626k 0 0:01:08 0:00:01 0:01:07 3628k

On 1/29/11, Kamil Dudka <kdudka_at_redhat.com> wrote:
> On Saturday 29 January 2011 02:21:47 Dejan Tolj wrote:
>> I have manually built 7.19.7 from source on RHEL5 but that seems to fail
>> also.
>
> We are not going to do a rebase of curl in RHEL-5. If this is a supported
> machine, ask your support representative to address the issue. If this is
> an _unsupported_ machine, you can try the following packages with updated
> curl:
>
> http://mirror.city-fan.org/ftp/contrib/sysutils/Mirroring
>
> Kamil
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-29