Re: defining HTTP_ONLY doesn't disable all protocols

2012-09-20 Thread Daniel Stenberg
On Wed, 19 Sep 2012, Alex Loukissas wrote: By the way, is there a way to do the same thing at ./configure time and only enable HTTP? I haven't found such an option from ./configure --help. No there isn't, still room for improvements there! -- / daniel.haxx.se

libcurl - runtime dll error on 32bit but not 64bit

2012-09-20 Thread Andy Hallam
I have posted the below on stackoverflow under the libcurl tag - http://stackoverflow.com/questions/12493300/libcurl-dll-error-on-32bit-but-not-64bit My question/problem - This is a new thread started from post (http://stackoverflow.com/questions/12107885/libcurl-lib-where-can-i-get-it). I

Re: libcurl - runtime dll error on 32bit but not 64bit

2012-09-20 Thread Daniel Stenberg
On Thu, 20 Sep 2012, Andy Hallam wrote: I have posted the below on stackoverflow under the libcurl tag - First out, stackoverflow is not the optimal place to discuss problems. It is made for straight-forward questions that have an (easy and single) answer. I don't think this is such a

Re: How to delete file from sftp server by libcurl

2012-09-20 Thread Daniel Stenberg
On Thu, 20 Sep 2012, 黄心怡 wrote: CURLcode nRet = curl_easy_perform(curl); What does it return? What does the CURLOPT_VERBOSE mode output show? -- / daniel.haxx.se--- List admin: http://cool.haxx.se/list/listinfo/curl-library

Re: How to delete file from sftp server by libcurl

2012-09-20 Thread Daniel Stenberg
On Thu, 20 Sep 2012, Daniel Stenberg wrote: CURLcode nRet = curl_easy_perform(curl); What does it return? What does the CURLOPT_VERBOSE mode output show? And while at it, tell us which libcurl version and which libssh2 version on what operating system you're using! -- /

RE: How to delete file from sftp server by libcurl

2012-09-20 Thread Andy Hallam
And while at it, tell us which libcurl version and which libssh2 version on what operating system you're using! libcurl version? - the library in the archive is named libcurl_imp.lib - I do not know its version, please tell me how I can extract this from the .lib. libssh2? - this is not

RE: How to delete file from sftp server by libcurl

2012-09-20 Thread Daniel Stenberg
On Thu, 20 Sep 2012, Andy Hallam wrote: libcurl version? - the library in the archive is named libcurl_imp.lib - I do not know its version, please tell me how I can extract this from the .lib. My question about libcurl version was directed to 黄心怡. This thread is about SFTP deletion, I

passing certificates for the cCURL with openssl in android

2012-09-20 Thread Indtiny s
Hi. I have cross built the curl and openssl for the android with help of this link Using cURL in Android http://stackoverflow.com/questions/4952169/using-curl-in-android .. I am able to build succesfully . and now I am trying to run my application , in my application I need to add my own

How to consistently CWD to HOME directory before using MKD command

2012-09-20 Thread Bill Middlecamp
With some FTP servers, libcurl does not CWD to the home directory, and that creates a problem with the MKD command. I am trying to create a unique directory at the end of possibly existing path. For example: foo/bar/unique.1234 1) The foo/bar portion of the path may or may not exist, so I use

Patch to add CURLOPT_SSLENGINE_WITH_OPT for curl_easy_setopt

2012-09-20 Thread Andrew Prout
The attached patch adds a new option for curl_easy_setopt: CURLOPT_SSLENGINE_WITH_OPT. It's be nice if this feature could be merged into libcurl. It's an variation of CURLOPT_SSLENGINE that lets you set the pre and post engine init commands to be passed to OpenSSL. More info is available at:

Re: use libcurl with polarssl, linking issue.

2012-09-20 Thread Dan Fandrich
On Wed, Sep 19, 2012 at 02:54:56PM -0700, Emanuel Patern wrote: I tried to build curl with polarssl instead of openssl. Here what I did : Libcurl version : 7.27.0 Polar ssl version : 1.1.4 To build polar ssl I did : make CC=gcc APPS= make DESTDIR=/c/pssl install To build curl I did

Re: How to consistently CWD to HOME directory before using MKD command

2012-09-20 Thread Daniel Stenberg
On Thu, 20 Sep 2012, Bill Middlecamp wrote: 1) The foo/bar portion of the path may or may not exist, so I use MULTICWD together with the upload of a temporary file to get libcurl to create those directories if needed. Then I DELE the temporary file with a POSTQUOTE command. 2) Next, I

Re: passing certificates for the cCURL with openssl in android

2012-09-20 Thread Daniel Stenberg
On Thu, 20 Sep 2012, Indtiny s wrote: in my application I need to add my own certificates Wait. What certificates are we taking about here? A) Your own CA cert bundle or B) you need to use a client certificate? -- / daniel.haxx.se