cURL is an HTTP client library and command line tool.

learn more… | top users | synonyms

0
votes
1answer
4k views

How do I download all the files in a directory with cURL?

I am using cURL to try to download all files in a certain directory. Here's what my list of files looks like: I have tried to do in bash script: iiumlabs.[].csv.pgp and iiumlabs* and I guess cURL ...
4
votes
2answers
1k views

Brew install imagemagick curl fails

I am getting the following error when trying to install imagemagick via brew on OS X Mountain Lion. It appears to be a curl error - hence why it's on SF not another of the Stack Exchange sites. brew ...
0
votes
1answer
502 views

curl on Tomato USB - SSL CA issue

I installed optware and I have curl available. I'm trying to get it to notify me (through pushover) when the router is rebooted. curl \ -F "token=<token goes here>" \ -F "user=<user key goes ...
-2
votes
1answer
187 views

Unable to acces Nagios from Ec2

I have installed Nagios by following this tutorial here. But when I tried to connect to localhost/nagios3 using curl from console, making sure that Nagios is installed and running(since I'm getting ...
1
vote
2answers
1k views

Ubuntu 10.04.4 LTS - cURL SSL certificate permission denied

After extensive searching I haven't found documentation of this problem yet. Suddenly, possibly following a software update(?), cURL fails to establish SSL connections with this error: curl: (35) ...
1
vote
2answers
2k views

git refuses to send credentials over http?

curl seems to work fine, but git does not. git asks for a password, but then doesn't send any credentials. works: curl --netrc http://test.git.unsw.edu.au/ and curl -u username:password ...
3
votes
2answers
4k views

NTLM with cURL returns 401

Goal: connecting to an Exchange server (EWS) Method: cURL Problem: Cannot get authenticated (NTLM), request returns 401.1 There seems to be an old, well documented 2 issue that started with cURL's ...
0
votes
1answer
163 views

PHP Script Issue While Running

I have the following PHP script for in-app purchase verification for an iPhone app. However, the script (from chrismaddern) runs effectively on localhost (mac) and does not run or give any output on ...
1
vote
1answer
575 views

how to monitor cURL calls

I have a PHP based CMS which makes requests to service provider (a java based ECM(enterprise content management) currently located in the same server as my PHP) and inserts the response to mysql. ...
0
votes
4answers
597 views

Is cURL standard part of all Unix-like operating systems?

I'm writing a shell script that needs to download some data from the Internet and I was just thinking if I can rely on cURL that it's pre-installed on all Unix distributions. I know that wget is not ...
2
votes
0answers
376 views

curl request results in heavy load on the server

We consume an XML Datafeed by sending cURL requests to the provider's server. They do not allow us to cache, so each pageview is a new cURL request. Twice this year, our server has crashed with the ...
15
votes
5answers
20k views

How to update cURL CA bundle on RedHat?

I am running into issues where the CA bundle that has been bundled with my version of cURL is outdated. curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL ...
1
vote
1answer
526 views

getaddrinfo(3) failed

I'm trying to connect to a webservice using a PHP wrapper (which is using curl under the covers). On my local linux machine running PHP 5.3 it works perfectly. However, when I move to a remote server ...
0
votes
1answer
206 views

cURL newest version on Debia Squeeze

Why Debian Squeeze repositories points to cURL version 7.21.0 which is from June 2010 and not the version 7.26.0 which is from May of this year(cURL Changelog)?? I want to update to the version 7.26 ...
-1
votes
1answer
660 views

Error on installing Curl in Red Hat

Got this error when i installed curl in my Red Hat Enterprise Linux Server ../lib/.libs/libcurl.so: undefined reference to `ERR_remove_thread_state' collect2: ld returned 1 exit status make[2]: ...
0
votes
1answer
574 views

How to upgrade php curl on Ubuntu 10.04

I have a web service on 64bit AWS/ubuntu 10.04 machine. Current php ver PHP Version 5.3.2-1ubuntu4.15. Current curl ver: 7.19.7 This Curl version has a memory leak and I need to upgrade to V 7.25.0 ...
2
votes
1answer
831 views

file_get_contents url wrappers work on cli but not cgi

I have a big problem. I have just upgraded to a new dedicated server running Plesk 10, and Ubuntu 11.04 and my scripts can't run file_get_contents or curl to external urls in cgi mode. ...
0
votes
1answer
3k views

Dependency issues while installing curl-devel

I'm trying to run the passenger-install-apache2-module so I can install Redmine on CentOS 5.8, but passenger-install-apache2-module tells me I need Curl development headers with SSL support, which it ...
0
votes
1answer
109 views

cpanel cronjob curl increase file size [closed]

I created a bash script to run as a cronjob with Cpanel: --------------content of cron.sh--------------------- #!/bin/bash curl http://website.com/1.gif >> ...
1
vote
0answers
3k views

CURL ERROR: Recv failure: Connection reset by peer - PHP Curl

I've posted a question yesterday on stackoverflow here but think this might be server related. I'm connecting using the PHP curl functionality to a server that then generates a PDF file and sends it ...
0
votes
3answers
5k views

I would like to know the equivalent command to curl in Solaris

I would like to know equivalent command to curl in Solaris. As in Linux, the curl command is used to find the website activity. Kindly let me know command to check website in Solaris.
2
votes
3answers
8k views

Curl request wont resolve to localhost

I have an ubuntu server running apache on localhost / port 80. It's domain is sub.domain.com If I make a curl request to http://localhost on that machine it will error with 'couldnt connect to host' ...
1
vote
1answer
825 views

Allow outgoing connections for cURL on LAMP stack

I've been trying to setup a LAMP stack to use as a web development server and it's proving to be very frustrating for a novice like myself. On a Fedora 16 machine, I've got Apache, MySQL, PHP, cURL, ...
0
votes
2answers
663 views

Curl and Wget returns different response code

I am trying to wget a link, this wget works fine on my local machine but it doesn't do so on the server. i tried to check the response header and i got the following on my local laptop curl -I ...
3
votes
2answers
9k views

Ubuntu 11.10, using wget/curl fails with ssl

On a completely new install of Ubuntu I'm getting the following errors when using wget: wget https://test.sagepay.com --2012-03-27 12:55:12-- https://test.sagepay.com/ Resolving test.sagepay.com... ...
0
votes
1answer
823 views

PHP, Apache and curl: Differences between Windows and Linux?

I'm trying to run my php App on Ubuntu Server 11.10. This App works fine under Apache + PHP in windows. I have other applications that I can simply copy&paste between the 2 OS and they work on ...
1
vote
2answers
852 views

SSL on Apache seems to significantly affect WebDAV performace

I'm using Apache 2.2 running on Windows Server 2008 R2 as a WebDAV server for clients to upload large media files (roughly 100-2000MB). I am finding that when I have SSL enabled (openSSL 0.9.8o) and ...
0
votes
2answers
525 views

Does PHP script itself count as a process?

My server has a limited number of concurrent processes (20) it can handle. To make sure I don't exceed I need to understand: When a user is waiting for a PHP script to finish loading, does the ...
0
votes
1answer
1k views

curl installation and upgrade

On a centos 5.7 machine we had curl 7.15 installed . We also have PHP installed in it as some of the PHP libraries are linked to curl. We wanted to upgrade curl to 7.19 but yum update was failing . ...
0
votes
1answer
1k views

Error when installing curl debian squeeze [closed]

I have set up an [ISPconfig][1] server and am now trying to install curl. I'm using apt-get to install php5-curl and it seems to be throwing up an error. After I press "y" to accept the install it ...
0
votes
1answer
393 views

curl cookie and cookiejar trouble

I've got a script that curls a site using a specific cookie value in a cookie file. When I run this on my local system, the server returns the same value to my cookie jar, as per my expectations. When ...
0
votes
1answer
246 views

CURL not working in node.js in CentOS 5.7, but works fine in debian 2.6.32-5

working on an app in node.js, On the test server (debian 2.6.32-5) it works flawlessly, on CentOS 5.7 I get an error. using the curlrequest node.js library, and the error that comes up is "failed to ...
4
votes
1answer
202 views

Problems restarting Apache - Curl related

I'm having a problem compiling LAMP, I have everything compiled and working, but when I try to restart apache I get the following error: seg fault or similar nasty error detected in the parent ...
1
vote
2answers
7k views

Using curl to request URL that redirects to relative URL with anchor tag

I'm using curl to request a URL that redirects to a different URL using a Location: line like: Location:/path/to/resource#name As I understand it, that line in the redirect response is invalid per ...
0
votes
1answer
443 views

how to make curl uploads faster with firewall

We recently moved a new server and are facing the slow upload issues . We suspect this because of firewall . how do I make sure applications like ftp,curl become faster with firewall. Any inputs ...
0
votes
1answer
85 views

File uploads taking more time

We recently moved to a new server. We have observed that the file upload done from the ftp command is taking around 5sec for 5MB file. But same file uploaded through CURL command is taking about 140 ...
3
votes
3answers
6k views

How to change libcurl SSL backend from gnutls to openssl on Ubuntu server

I am getting gnutls specific errors in my Tornado webserver while processing Google OpenID SSL responses. One of the suggestions I got from Tornado mailing list is to try OpenSSL backend instead of ...
0
votes
2answers
180 views

my share hosting has disabled all socket functions

I have hosted my website with squarebrothers.com They have disabled curl_exec, fsockopen, socket_create functions. They say that these are security vulnerabilities and they have blocked. And they ...
0
votes
2answers
3k views

Enabling CURL on Ubuntu 11.10

I have installed curl: sudo apt-get install curl libcurl3 libcurl3-dev php5-curl and I have updated my php.ini file to include(I also tried .so): extension=php_curl.dll To test if curl is ...
3
votes
1answer
862 views

Using curl to make a HEAD request with a hard timeout

I'd like to use curl to send a HTTP HEAD request to a URL to verify that it is working correctly (server is up and sends a successful response). At the end, I need the final HTTP response code ...
8
votes
5answers
9k views

How is it possible that I can do a host lookup but not a curl?

Has anyone ever seen this before? Note that this happens not only with google.com, but with every domain I try. It's a wireless connection (WEP), but I'm not sure how that would be relevant: $ curl ...
1
vote
2answers
743 views

CURL - saving multiple HTTP responses

I've learned that we can send multiple HTTP requests with CURL by doing this: curl -I http://linuxbyexample.co.nr http://lne.blogdns.com/lbe or this: xargs curl -I < url-list.txt How can we ...
2
votes
0answers
1k views

What is the difference between installing libcurl4-gnutls-dev or libcurl4-nss-dev in ubuntu 11.10?

For a software that I am installing in an ubuntu server, it needs the curl deb packages. When I try to install libcurl4-dev it says that this is a virtual package and I need to install ...
0
votes
1answer
209 views

PHP CURL Enable Linux

I have some php scripts that I've been running on an Apache server on a windows machine. These scripts use curl which isn't enabled by default in php. For windows enabling it was as easy and ...
0
votes
1answer
3k views

How to use cURL to FTPS upload to SecureTransport (hint: SITE AUTH and client certificates)

I'm trying to connect to SecureTransport 4.5.1 via FTPS using curl compiled with gnutls. You need to use --ftp-alternative-to-user "SITE AUTH" per http://curl.haxx.se/mail/lib-2006-07/0068.html Do ...
0
votes
1answer
2k views

curl --ftp-ssl to grab all files in remote directory

Is it possible to get all files in a directory using curl? Here's my string so far: curl --ftp-ssl -k ftp://user:pass@IP This will LIST the files in the user FTP directory, how do I adjust this ...
1
vote
2answers
2k views

curl SSL issue with RapidSSL certificates

I'm getting the famous "SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed" problem when attempting to curl a domain that has a rapidssl certificate installed. I'm running Ubuntu ...
0
votes
3answers
377 views

using curl to trigger a notification over http e.g. when a long running task has completed?

Today I left work with a long running task running in the shell. For the sake of argument let's say I'm using 'wc -l' to count lines in a huge file. I'd like to get a notification when it is done, but ...
2
votes
4answers
1k views

Install Fedora Source package on RHEL / CentOS

I'm attempting to upgrade curl on RHEL / CentOS machines. I've found what seems to be the appropriate source packages in a number of repos. (ie, ...
0
votes
1answer
176 views

cURL on Linux not compiled, although installed,why?

the phpinfo() shows but when i install zencart on my vps hosting. it shows why? how to correct it?