Questions tagged [curl]

cURL is an HTTP client library and command line tool.

646 questions
2
votes
1 answer

HTTP Request Header limit hard coded in Apache 2.2

I looked up some other question concerning this on SF, they revolved around a maximum limit being set for LimitRequestFieldSize and LimitRequestLine at 8K. httpd's documentation confirms the limit, but doesn't list the value to be fixed. I tried…
fuero
  • 9,591
  • 1
  • 35
  • 40
2
votes
3 answers

Why is my curlftpfs write only?

I have mounted a FTP backup solution to /opt/backup and it seems to be write only (even as root, as shown). # touch foo # ls -l -rw-r--r-- 1 root root 0 Feb 19 16:00 foo # cat foo cat: foo: Permission denied # rm foo # ls # Mountpoint looks like…
Cobra_Fast
  • 650
  • 2
  • 8
  • 23
2
votes
1 answer

Ubuntu 12.04 and 12.10 don't have new Thawte intermediary certs?

I recently swapped my sites SSL certificate over to a new Thawte 2048 bit cert. Ubuntu/libcurl doesn't seem to be able to verify it. Web browsers and OSX is fine. I had to manually update the cert bundle on the OS from…
markba
  • 85
  • 1
  • 6
2
votes
1 answer

Capturing output of 'at'

How can I log the output of a command executed by at? This command is actually being exec()'d by PHP as in:
2
votes
1 answer

PHPCurl and curl failing with Error "SSL read: error:00000000:lib(0):func(0):reason(0), errno 104"

Since upgrading to Ubuntu 12.04 I've started receiving errors on SSL based curl requests to Apple's verification servers. This happens on all of my 12.04 servers. Using this command curl -Iv https://buy.itunes.apple.com/verifyReceipt or PHP's curl…
Andrew Winter
  • 261
  • 4
  • 12
2
votes
2 answers

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) error:0200100D:system library:fopen:Permission…
reinouts
  • 133
  • 1
  • 5
2
votes
0 answers

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 explaination from our server company being that the…
TecBrat
  • 183
  • 12
2
votes
1 answer

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. allow_url_fopen is set to On in the correct php.ini file but…
Liam Bailey
  • 183
  • 8
2
votes
1 answer

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 tells me I can install using yum install…
Hosh Sadiq
  • 106
  • 3
  • 15
2
votes
2 answers

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 save the all responses we get - every one of them to a…
mrjames
  • 33
  • 1
  • 5
2
votes
1 answer

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 you see anything wrong with my client…
Seamus Abshere
  • 673
  • 1
  • 6
  • 10
2
votes
2 answers

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 10.10 and I have openssl installed with a huge…
Josh Nankin
  • 722
  • 12
  • 27
2
votes
4 answers

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, http://mirror.centos.org/centos/6/os/SRPMS/Packages/curl-7.19.7-16.el6.src.rpm) When attempting to make…
Chris Henry
  • 1,552
  • 3
  • 15
  • 15
2
votes
1 answer

Editing hosts file of my Mediatemple DV container

I have a PHP script in a Mediatemple (dv) server that uses cURL to post data to a remote website. This remote website also resides in a (dv) server and doesn't have a domain name yet. I can only access it through web preview. I'm planning to edit…
Dave
  • 225
  • 3
  • 8
2
votes
2 answers

WGet or cURL: Mirror Site from http://site.com And No Internal Access

I have tried wget -m wget -r and a whole bunch of variations. I am getting some of the images on http://site.com, one of the scripts, and none of the CSS, even with the fscking -p parameter. The only HTML page is index.html and there are several…
songei2f
  • 1,934
  • 1
  • 20
  • 30