curl-library
Re: HTTPS POST file with libcurl and java
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 24 Sep 2004 20:25:37 +0200 (CEST)
Date: Fri, 24 Sep 2004 20:25:37 +0200 (CEST)
On Fri, 24 Sep 2004, Jacopo Di Clemente wrote:
> I am trying to send a file to an https server with libcurl and java. I
> succedeed in sending it with curl and the -F option, but I am not able to
> set the right options to do it in java with libcurl.
> I browsed the source code and tried various options set, but I didn't
> succeed. Does anybody knows of any documentation and/or example?
Docs:
http://curl.haxx.se/libcurl/c/curl_formadd.html
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTHTTPPOST
Example:
http://curl.haxx.se/lxr/source/docs/examples/postit2.c
But how you do this from java (is this a java binding for libcurl?), I can't
tell!
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-09-24