cURL / Mailing Lists / curl-users / Single Mail


Antw: Re: https upload failed

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

thanks, it works!


>>> 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
> 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:
Received on 2006-06-16