cURL / Mailing Lists / curl-users / Single Mail

curl-users

Antw: Re: https upload failed

From: Zheyi Ji <Zheyi.Ji_at_phonehouse.de>
Date: Fri, 16 Jun 2006 10:39:30 +0200

thanks, it works!

ZJ

>>> daniel_at_haxx.se 15.06.2006 17:23:58 >>>
On Wed, 14 Jun 2006, Zheyi Ji wrote:

> I tried to upload a file per curl to a https-site, but got the
following
> error:
>
> org.apache.commons.fileupload.FileUploadException: the request was
> rejected because no multipart boundary was found
>
> Here is the command:
> curl -q -S -K <configure_file> --data-binary @/test.curl -v <url>
>
> Does anyone have an idea? Thanks

Yes, you're not uploading it as a multipart form-post so the receiving
end of
course doesn't find anay "multipart boundary".

You should use -F and not -d to do that post.

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