cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Partial Downloads

From: Dejan Tolj <dejan1_at_gmail.com>
Date: Fri, 28 Jan 2011 20:21:47 -0500

Hi Daniel, I just had one more question.
I downloaded curl 7.19.7 on RHEL6 and the range parameter works fine.
However on RHEL5 the latest release is 7.15.5 which breaks.

I have manually built 7.19.7 from source on RHEL5 but that seems to fail also.

/home/dtolj/curl $ ldd ./bin/curl
                                           [19:06:14]
        linux-gate.so.1 => (0x0093a000)
        libcurl.so.4 => /home/dtolj/curl/lib/libcurl.so.4 (0x00269000)
        libssh2.so.1 => /home/dtolj/libssh/lib/libssh2.so.1 (0x00c1f000)
        librt.so.1 => /lib/librt.so.1 (0x0085c000)
        libz.so.1 => /usr/lib/libz.so.1 (0x007e5000)
        libc.so.6 => /lib/libc.so.6 (0x0063d000)
        libldap-2.3.so.0 => /usr/lib/libldap-2.3.so.0 (0x008bb000)
        libssl.so.6 => /lib/libssl.so.6 (0x00c10000)
        libcrypto.so.6 => /lib/libcrypto.so.6 (0x009cc000)
        libdl.so.2 => /lib/libdl.so.2 (0x00798000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x007ca000)
        /lib/ld-linux.so.2 (0x0061e000)
        liblber-2.3.so.0 => /usr/lib/liblber-2.3.so.0 (0x008ab000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x009b6000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00890000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00b0f000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00b3f000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x009b1000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00be2000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x0097d000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00bd7000)
        libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00c0b000)
        libselinux.so.1 => /lib/libselinux.so.1 (0x007fa000)
        libsepol.so.1 => /lib/libsepol.so.1 (0x00814000)
/home/dtolj/curl $ ls
bin include lib share

./bin/curl -V
curl 7.19.7 (i686-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8b
zlib/1.2.3 libssh2/1.2.7
Protocols: tftp ftp telnet dict ldap http file https ftps scp sftp
Features: IPv6 Largefile NTLM SSL libz

When I try to download something it just hangs nothing is displayed in output.
I have even built the latest stable release but the range param also
dosn't work with my build.

On 1/28/11, Dejan Tolj <dejan1_at_gmail.com> wrote:
> It seems curl version 7.15.5 has that problem, but after upgrading to
> curl 7.19.7 it works. Thanks.
>
> On 1/28/11, Daniel Stenberg <daniel_at_haxx.se> wrote:
>> On Fri, 28 Jan 2011, Dejan Tolj wrote:
>>
>>> I am using curl 7.15.5
>>
>> Released on Aug 7 2006, 24 releases ago... also 619 documented bugfixes
>> ago.
>> You should also note that 7.15.5 has 4 known security vulnerabilities.
>>
>> (http://curl.haxx.se/docs/releases.html has all this info)
>>
>>> Does the fact that it dosn't work in the form 0-1024 have anything to do
>>> with the windows FTP server that I am using?
>>
>> No. The range download over FTP is done entirely by itself, as libcurl
>> will
>> ask for the file to get transfer and will simply stop the transfer after
>> the
>> sufficient amount of data has been received.
>>
>> --
>>
>> / daniel.haxx.se
>> -------------------------------------------------------------------
>> 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
>>
>
-------------------------------------------------------------------
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