cURL / Mailing Lists / curl-users / Single Mail


Re: Posting with ----data-urlencode

From: Daniel Stenberg <>
Date: Mon, 13 Sep 2010 22:46:48 +0200 (CEST)

On Mon, 13 Sep 2010, Kyle Welsh wrote:

> Hey, having problems with the usage of --data-urlencode <data>
> By statement is:
> curl -v -s -b /home/<user>/cookies.txt -F Student_ID=262144  -F
> file=@$Dir/user.jpeg   -F name=$name ---data-urlencode bio="String of words"
> ""

You cannot mix --data-urlencode (that uses two dashes and nothing else) with
-F. They build do different data chunks to send with a POST. Make up your
mind, do you want a multipart formpost (-F) or a "regular" one


List admin:
Received on 2010-09-13