Building libcurl with SSL support on Windows
Hi, I'm using libcurl in a Win32 C++ application. I have the curllib.vcproj project added to my solution and set my other projects to depend on it. How do I build it with SSL support enabled? ...
Hi, I'm using libcurl in a Win32 C++ application. I have the curllib.vcproj project added to my solution and set my other projects to depend on it. How do I build it with SSL support enabled? ...
I'm writing a C++ client which is using libcurl for communicating with a PHP script. The communication should be session based, and thus the first task is to login and make the PHP script set up a session. I'm not used to working with sessions either from C++ or PHP. I basically know that it has to do with cookies and communicating ses...
Is there an easy way to cancel a curl_easy_perform from another thread? ...
How do I get the HTTP status code (eg 200 or 500) after calling curl_easy_perform? ...
How do i turnoff WRITEFUNCTION and WRITEDATA ? using pycurl i have a class call curlUtil. In it i have pageAsString(self, url) which returns a string. To do this i setopt WRITEFUNCTION. Now in downloadFile(self, url, fn, overwrite=0) i do an open and self.c.setopt(pycurl.WRITEFUNCTION, 0) which cause problems. int is not a valid argueme...
Alright I've spent a good three days trying this, here's the scenario: I want to download a '.csv' file from Google and then do stuff with the data from the file. It's for a Win32 Console Application. I have the latter down, I just cannot for the life of me figure out how to download the file. I've heard of libcurl, curlpp, ptypes, roll...
I am VERY new to python. I used libcurl with no problems and used pyCurl once in the past. Now i want to set it up on my machine and dev. However i have no idea how to do it. I rather not DL libcirl files and compile that along with pycurl, i want to know the simplest method. I have libcurl installed on my machine. i'm on windows, i tri...
in C do return -1 when i want to cancel the download in either the header or the write function. In pycurl i get this error pycurl.error: invalid return value for write callback -1 17 I dont know what the 17 means but what am i not doing correctly? ...
Similar: http://stackoverflow.com/questions/584272/possible-to-assign-a-new-ip-address-on-every-http-request Is it possible to display a different/spoofed IP address using CURL when you make requests to a server? If not, is there any alternative way of spoofing your IP address using PHP? ...
Im trying to get libcurl to download a webpage that is encoded in UTF-8, which is working fine, except for the fact that it converts it to ASCII and screws up some of the characters. Is there an easy way to get it to keep it in UTF-8? ...
I’m new to PHP and I’m trying to learn how to parse information, I’m trying to use CURL but I’m not able to install it on my desktop WAMP on Windows Vista. How do I install CURL? ...
Hi, I'm using cURL and php to query an exchange server that has Forms Based Authentication turned on. Due to FBA being on I need to collect a user's cookie authentication ids first. Yesterday everything was working: then something changed overnight and stopped working. I noticed that the cookie ids I was getting back were different (not ...
Hi, I did download "http://curl.haxx.se/download/libcurl-7.19.3-win32-ssl-msvc.zip" and copied the dll and lib files to my app folder and added curllib.lib to the linker properties in msvc. when I build the application then no error is coming, but when I run the application I am receiving the following error. LDR: LdrpWalkImportDescript...
I'm doing this to fetch some data: c = pycurl.Curl() c.setopt(pycurl.ENCODING, 'gzip') c.setopt(pycurl.URL, url) c.setopt(pycurl.TIMEOUT, 10) c.setopt(pycurl.FOLLOWLOCATION, True) xml = StringIO() c.setopt(pycurl.WRITEFUNCTION, xml.write ) c.perform() c.close() My urls are typically of this sort: http://host/path/to/resource-f...
I'm POSTing data to a HTTPS server using libcurl compiled with openssl using Visual Studio 2008 in windows and it all works fine with CURLOPT_SSL_VERIFYPEER set to 0. I've tried following http://curl.haxx.se/docs/sslcerts.html and just about every "SSL and SECURITY OPTIONS" option in the manual. I'm wondering what the right combination o...
I would like to upload a fiel (a picture in my case) in C/C++ using HTTP with libcurl. It will be great to have a working sample in C/C++ with (optional) the php code for the server side. ...
Hello, I'm normally a Java developer, but I'm writing a C++ library right now they will use LibCurl. And I'm very un-aware in the C++ world! What I'm writing is infact a library for use by other developers (its a client code used to access our API). Will end users be required to have libcurl installed, or can the developers somehow in...
I would like to use libCurl in an app for communicating with web services, and unfortunately it is not included int he iPhone SDK. Now I've figured out how to include Curl as a static library in my app, however, I'm wondering if this will get my app rejected with Apple. Has anyone included Curl in an app and had it approved by Apple? ...
I'm using pycurl to access a JSON web API, but when I try to use the following: ocurl.setopt(pycurl.URL, gaurl) # host + endpoint ocurl.setopt(pycurl.RETURNTRANSFER, 1) ocurl.setopt(pycurl.HTTPHEADER, gaheader) # Send extra headers ocurl.setopt(pycurl.CUSTOMREQUEST, "POST") # HTTP POST req ocurl.setopt(pycurl.CONNECTTIMEOUT, 2) ...
I write a program with libcurl. #include <stdio.h> #include <string.h> #include <curl/curl.h> #define URL_MAX 256 int main(int argc, char *args[]) { CURL *curl; CURLcode res; curl_global_init(CURL_GLOBAL_DEFAULT); curl = curl_easy_init(); curl_easy_setopt(curl, CURLOPT_URL, args[1]); curl_easy_perform(curl)...