cURL / Mailing Lists / curl-library / Single Mail

curl-library

uploading jpeg image

From: Superprops <superprops_at_telus.net>
Date: Mon, 16 Feb 2009 17:44:53 -0800

Quick question, when uploading an image file using a POST form
simulation on win32, is a read callback required ? If so, do I just
add a curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback)
before my curl_easy_perform() (aong with and actual function for
read_callback of course) ?

I am using the sample code provided in postit2.c.
Received on 2009-02-17