cURL / Mailing Lists / curl-library / Single Mail

curl-library

How to partial upload a file to server?

From: dong <ilovedxq_at_163.com>
Date: Sun, 11 May 2014 15:11:56 +0800 (CST)

 Hey,
    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? Thanks so much!

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