cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: write different files to disk from an multipart/x-mixed-replace; boundary=END

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 2 Jul 2015 08:20:53 +0200

On Wed, Jul 01, 2015 at 12:49:38PM +0300, Yaron Illouz wrote:
> Ok so you say there is no implanted way to do it.
> I should parse the reponse myself?

There are libraries available to help do this; search the mailing list archives
as this question has been asked before.

> And is there a way to pass the filename for each file?

HTTP allows a filename to be passed for each part in the Content-Disposition
header.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-07-02