curl-users
Re: curl: (26) failed creating formpost data
Date: Wed, 25 Jan 2006 11:14:58 +0100
On 22 Jan 2006, at 12:00, curl-users-request_at_cool.haxx.se wrote:
>> I'm using curl to upload files with HTTP Post. Works great, expect
>> when
>> there's a space in the path to the file to upload.
>
> Using that curl version?
>
> I just tried this with 7.15.1 and it worked fine:
>
> curl -F "mooo=@READ ME" http://thatsiteipostedto.com/
>
> I'm just a little uncertain if curl should've encoded the space in the
> header
> it sends to the server, as it doesn't do that now...
Thanks for the quick reply. I'm using 7.13.1 on OS X 10.4.4
You're right, using the quote *does work*. I must have made a mistake
when I first tried it. I'm calling curl thru AppleScript some setting
up commands with quotes etc.. can be a little tricky.
Thanks;
L
Received on 2006-01-25