curl-users
Re: Handling MultiPart response in CURL
Date: Fri, 18 Jul 2014 16:51:27 +0530
I found this http://curl.haxx.se/mail/lib-2011-11/0290.html
and its mentioned there ibcurl does not support parsing of
multipart/mixed responses
I didn't find any link where CURL handles MultiPart response
I execute CURL from command prompt and I am not using c or php or any
other.
On Fri, Jul 18, 2014 at 2:28 PM, Prashant Pharate <prashantpharate_at_gmail.com
> wrote:
> On Thu, Jul 17, 2014 at 03:43:08PM +0530, Prashant Pharate wrote:
> *> I have requirement. I will send 2 files in
> com.sun.jersey.multipart.MultiPart *
> *> BodyPart and will add multiPart object in response *
> *> *
> *> My question is how I will get files from the response using CURL *
>
> curl will provide the same data to the client as was sent by the server.
> It's up to the client application to perform any processing of that
> response,
> which includes splitting a multipart/form-data or other MIME-style
> multipart
> response.
>
> *>>> Dan *
>
> *Problem is how to split multipart response.*
>
> Added files in BodyParts---I tried following
>
> curl -o sal.htm -o sal.pdf
>
> But pdf garbage data get mix with html file
>
> Please share if you have example
>
>
>
>
> On Thu, Jul 17, 2014 at 3:43 PM, Prashant Pharate <
> prashantpharate_at_gmail.com> wrote:
>
>> Hi,
>>
>> I have requirement. I will send 2 files in
>> com.sun.jersey.multipart.MultiPart BodyPart and will add multiPart object
>> in response
>>
>> My question is how I will get files from the response using CURL
>>
>> My curl version is curl 7.19.7 (powerpc-ibm-aix5.3.0.0) libcurl/7.19.7
>> OpenSSL/0.9.8r
>>
>> Protocols: tftp ftp telnet dict http file https ftps
>>
>> Features: IPv6 Largefile NTLM SSL
>>
>> --
>> *Regards,*
>> *Prashant Pharate*
>>
>
>
>
> --
> *Regards,*
> *Prashant Pharate*
>
-- *Regards,* *Prashant Pharate*
-------------------------------------------------------------------
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 2014-07-18