cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Re SSL Upload

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 25 Oct 2006 15:48:56 +0200 (CEST)

On Wed, 25 Oct 2006, Peter Gardner wrote:

> Thanks for the response. How do I respond to a group of messages?

You reply to these messages by sending mail to curl-users_at_cool.haxx.se, just
like to did now.

> In the config file how do I change the content-type as the file is currently
> being sent as application/octet-stream

Did you really try to read the manual? It states quite explicitly in the
explanation for -F that:

               You can also tell curl what Content-Type to use by using
               'type=', in a manner similar to:

               curl -F "web=@index.html;type=text/html" url.com

               or

               curl -F "name=daniel;type=text/foo" url.com

... if you're still referring to a multipart post.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-10-25