cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: error uploading huge file.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 22 Aug 2001 10:35:00 +0200 (MET DST)

On Tue, 21 Aug 2001, Yee, David wrote:

> I'm trying to use the libCurl C API. I'm trying to upload a file
> using the API. When uploading relatively small files I'm fine. However,
> when I try uploading a huge file (4+megs) I get a CURLE_PARTIAL_FILE
> error.

It is nothing that sounds familiar or that should happen.

It sounds as if something outside of libcurl is causing the problems. There
are no size limits within libcurl itself, accept perhaps for some 32bit
problems that might happen >2GB.

You didn't mention 1) which OS 2) which libcurl version 3) what protocol are
you uploading with 4) what server/OS/software is receiving this 5) other
systems involved that might be relevant...

Also, what sizes work and when does it start to fail? Is the limit always the
same or does it vary? What if you do the same operation with the command line
tool curl, or possibly a different tool?

What does a network sniffer say happens when the transfer is aborted? Have
you tried enabling the VERBOSE option to libcurl to see if it gives more
info?

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-08-22