cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to partial upload a file to server?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 11 May 2014 16:00:38 +0200 (CEST)

On Sun, 11 May 2014, dong wrote:

> I'm coding a Dropbox client in C. I use libcurl to chunked upload a file
> to Dropbox. Every time I want to upload 4MB of the file to Dropbox. But I
> don't know how to do this.Should I use CURLOPT_CHUNK_BGN_FUNCTION,
> CURLOPT_SEEKFUNCTION, or some else options of libcurl?

Can you be more specific about what the "chunked upload" is in HTTP terms? A
PUT using chunked content-encodoing?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-05-11