cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Difficulties with --data option

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 6 Mar 2010 17:02:27 +0100 (CET)

On Sat, 6 Mar 2010, Yves PETRONIN wrote:

> -----------------------------168072824752491622650073
> Content-Disposition: form-data; name="caption"
>
> Summer storm

That's a multipart formpost so -F is the option you want, not -d.

And then you're better off using --trace-ascii to get a full trace and compare
that trace with the LiveHTTPHeaders dump and work on making the differences as
small as possible.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
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 2010-03-06