cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-787691 ] curl doesn't like >2GB files

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 12 Aug 2003 15:31:17 -0700

Bugs item #787691, was opened at 2003-08-12 22:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=787691&group_id=976

Category: libcurl
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Rob Braun (bbraun)
Assigned to: Daniel Stenberg (bagder)
Summary: curl doesn't like >2GB files

Initial Comment:
Curl currently fails when files are >2GB in size. Looking at
the code, it appears the content-length and other size
related values are either 'int', 'long', or 'ssize_t' depending
on where you look.
Curl fails with the following message:
  % Total % Received % Xferd Average Speed
Time Curr.
                                 Dload Upload Total Current Left
Speed
  0 0 0 0 0 0 0 0 --:--:-- 0:00:00 --:--
:-- 0
curl: (18) transfer closed with -1920007460 bytes remaining
to read

curl 7.10.2 (powerpc-apple-darwin7.0) libcurl/7.10.2
OpenSSL/0.9.7b ipv6 zlib/1.1.4

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=787691&group_id=976

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Received on 2003-08-13