Antw: Re: https upload failed
Date: Fri, 16 Jun 2006 10:39:30 +0200
thanks, it works!
>>> 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
> 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
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.htmlReceived on 2006-06-16