cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: post-callback example

From: Ben Noordhuis <info_at_bnoordhuis.nl>
Date: Tue, 19 Apr 2011 15:47:43 +0200

On Tue, Apr 19, 2011 at 15:14, Jan de Lint <jg.de.lint_at_xs4all.nl> wrote:
> In what form does the file arrive at the host as compared to a file posted
> with curlform-copyname and curlform_file?
> I see nothing coming in at the host end (PHP).

I suspect you want CURLFORM_FILECONTENT. A single file is sent as
multipart/form-data, multiple files are sent as multipart/mixed (IIRC
- but I think IRC).
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-19