Re: uploading jpeg image
Date: Tue, 17 Feb 2009 08:50:00 +0100 (CET)
On Mon, 16 Feb 2009, Superprops wrote:
> Quick question, when uploading an image file using a POST form simulation on
> win32, is a read callback required ?
libcurl's formpost support typically reads the file for you as well, so no.
> I am using the sample code provided in postit2.c.
... and that example shows a multipart formpost upload without using a read
callback! The fact that you upload a jpeg instead of of "postit2.c" makes no
difference to libcurl.
-- / daniel.haxx.seReceived on 2009-02-17