Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [curl]

cURL is an HTTP client library and command line tool.

0
votes
1answer
2k views

cURL Libraries on Ubuntu 9.10 Server Running SugarCRM Causing Problems with Scheduler

Running Ubuntu 9.10, Apache 2.2, MySQL 5.1.37, PHP 5.2.10, SugarCRM Pro 5.5.4 I started out by trying to use a Sugar function call Scheduler and Sugar complained: This system does not have the cURL ...
1
vote
1answer
2k views

FastCGI Process error when enable cURL

I have: windows Server 2003 - IIS 7.0 - PHP 5.2 Now I tried to install cURL. I get the php_curl.dll in the php.ini and have the right extension path. I also added the both needed dll-files to the ...
0
votes
1answer
4k views

retrieve file size from HTTP headers without downloading the file with CURL (no HEAD)

What i want to do is knowa file size and not download it. I've tried it with HEAD but the server doesn't respond curl_setopt($curl, CURLOPT_NOBODY, true); if i quit this , it will , but it will ...
0
votes
1answer
426 views

HowTo install cURL on ISS 7, PHP5 and Win Server 03

my question is in the title allready "How to install cURL on a windows server 2003 machine with ISS 7.0 and PHP 5?". I try to read HowTos in the internet but don't get any word what todo, I have too ...
0
votes
2answers
2k views

Install cURL in CentOS

Can someone direct me on how to install cURL on a CentOS server. Preferably through WHM if it's possible to recompile PHP that way.. I am a noob in SSH and this is a production server.
0
votes
2answers
134 views

File downloads stall from a third-party server (.net I think) - how can I prove the problem to the provider?

I'm writing a script to consume an XML feed provided by a third party. I'm having problems downloading the files listed inside it but the provider swears there's no problem. The files are usually ...
0
votes
2answers
1k views

PHP/cURL/Fedora issues resolving hostname possibly a DNS problem?

I have the following simple test script for cURL/php on a FC12/apache server that has PHP 5.3.2, cURL v7.19.7 (according to phpinfo()): $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://www....
2
votes
2answers
15k views

How to enable cURL in CentOS 5?

i already installed cURL with: yum install curl I restarted the httpd service but cURL is still not loaded. What else needs to be done? Thanks!
7
votes
3answers
11k views

How can I download multiple files stored in a text file with curl and xargs?

How can I download multiple files stored in a text file with curl and xargs? This is my last trial: cat listfile.txt | xargs curl -O first file works well, but other files are just output to stdout.
16
votes
3answers
50k views

Ubuntu 10.04/CURL: How do I fix/update the CA Bundle?

I recently upgraded our server from 8.04 to 10.04, and all the software along with it. From what I've found online, it seems that the new version of CURL doesn't include a CA bundle, and, as a result,...
1
vote
1answer
882 views

Compiling PHP with cURL and SSL support on Redhat EC5

I don't even know where to begin to be honest. Trying to use an external API that requires SSL connections, I discover that SSL in needed on cURL, but this (apparently) requires PHP to be reinstalled ...
0
votes
1answer
10k views

How to install cURL with openssl on ubuntu server?

I am having a problem with cURL here. My localhost has curl with openssl enabled, and thus my php code works fine. On running phpinfo() I get the following -- curl cURL support enabled ...
3
votes
1answer
6k views

How to enable curl, installed Ubuntu LAMP stack?

I have installed ubuntu Lamp stack.But the curl is not enabled neither i can find extension listed in the INI file, i added manually but it didn't worked too. How should enable Curl then ?
2
votes
1answer
2k views

Do I need to recompile PHP to make use of CURL API?

I have both Apache and PHP set up manually, albeit the latter without CURL. There is this jungle of instructions and explanations on extensions for PHP. I have a very straightforward question - what ...
0
votes
1answer
1k views

CURL on PHP 5.2 works in CLI but not in IIS

I have a Windows 2003 Server running IIS with php 5.2.8, I'm trying to use CURL, and it works in CLI mode (if i execute php.exe) but it does not seem to be registered when running under IIS. The ...
3
votes
1answer
8k views

curl FTPS with client certificate to a vsftpd

I'd like to authenticate FTP clients either via username+password or a client certificate. Only FTPS is allowed. User/password works, but while testing with curl (I don't have another option) and a ...
2
votes
1answer
888 views

How to make a POST request using the Collectd curl plugin?

How do I make a post request using the curl plugin? I see no option where I can specify the post data, or the type of request. Is it even possible with the plugin, or is there an alternative plugin I ...
3
votes
1answer
9k views

How to install PHP cURL on IIS?

How do I go about installing PHP cURL on IIS? I have copied the php_curl.dll file into the PHP extensions folder, what else do I need to do? Thanks
59
votes
4answers
70k views

Difference between `curl -I` and `curl -X HEAD`

I was watching the funny server type from http://www.reddit.com with curl -I http://www.reddit.com when I guessed that curl -X HEAD http://www.reddit.com would do the same. But, in fact, it doesn't. ...
7
votes
4answers
20k views

How can I capture output from LFTP? (Output not written to STDOUT or STDERR?)

I would like get access to progress information from lftp. Currently, I'm using curl like so: curl http://example.com/file -o file -L 2> download.log This writes curl's progress information to ...
9
votes
5answers
41k views

cURL or SSL problems, how to solve?

I keep getting this error: No cURL data returned for https://XXX.XXXX.XXX:XXXX [0] SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:...
2
votes
1answer
3k views

Unable to update to latest version or curl

I need to install curl version 7.18.0 or later but when I run yum install curl-devel I get Package curl-devel-7.15.5-2.1.el5_3.5.i386 already installed and latest version How can I get it to ...
2
votes
1answer
2k views

Slow curl from php, other

Recently switched to a different server, some php files use curl and seemed to be running fine originally but not so much anymore. Here is curl_getinfo for google.com array(20) { ["url"]=> ...
1
vote
2answers
549 views

repeated curl + grep on macosx occasionally giving bad results?

Running macosx 10.6.2, I am seeing some extremely weird behavior with a script which repeatedly calls curl -o (file) and then greps for a certain string within it. Occasionally grep returns 1 (not ...
3
votes
4answers
6k views

Why does squid reject this multipart-form-data POST from curl?

This fails: $ curl --trace multipart-fail.log -F "source={}" http://127.0.0.1:3003/jslint With a squid status 417 error, ERR_INVALID_REQ. trace of failing curl request trace of successful curl ...
0
votes
2answers
2k views

curl taking long time when not specifing i.p. address

I am using cURL to catch a remote server response. I've noticed that this method takes me 20 seconds eveytime. I've googled and found that something with the DNS lookup is misconfigured on my server (...
0
votes
1answer
5k views

Call to undefined function curl_init() [closed]

I'm running XAMP on Windows XP Pro. I've enabled curl in PHP.INI en restarted my machine and Apache. extension=php_curl.dll Still I get the following error in my php script: Call to undefined ...
2
votes
2answers
2k views

SSL / HTTP / No Response to Curl

I am trying to send commands to a SOAP service, and getting nothing in reply. The SOAP service is at a completely separate site from either server I am testing with. I have written a dummy script ...
1
vote
2answers
1k views

Curl receives expired cookies

Why does curl receive an expired cookie? In a response to some url the server is sending a 302 Found response and a cookie. In Firefox this cookie gets set seamlessly. Firebug says: Set-Cookie ...
0
votes
3answers
315 views

Cannot download some files from a given server

I'm working on a Fedora Core release 6, and whenever I want to download a given file from a FTP site, the connection is refused: $ curl --ftp-pasv "ftp://ftp.ensembl.org/pub/current_mysql/...
3
votes
1answer
665 views

using curl against my IDN doesn't work right; browsers are OK

I've registered www.❺➠.ws, which goes to the same IP as www.naildrivin5.com. curl www.❺➠.ws returns the homepage of www.naildrivin5.com. No problem. I modify apache to use name-based virtual hosts ...
1
vote
1answer
463 views

On Debian server, downloads stall out after one or two seconds using apt-get

I have a Debian server that is used primarily as a very low-traffic web server. Recently it began having some trouble regarding its network connection. I am able to use SFTP to upload a file to this ...
1
vote
2answers
6k views

windows php curl install : recommend a good site? [closed]

So I'm struggling to get php curl installed on my windows xp professional machine and I've probably tried 5 different sites which either dont' work or refers to missing file references like the ca ...