a command-line tool for transferring data using various protocols.

learn more… | top users | synonyms

0
votes
0answers
11 views

What does “javascript:;” in the action attribute field mean?

I'm new to html automation and have been reading http://curl.haxx.se/docs/httpscripting.html . The action attribute should tell you where to send the request with your client, but, in case it is ...
0
votes
1answer
13 views

Curl with SSL failing to download with https (DigitalOcean Ubuntu Server 15.04)

Received this error message: curl: (77) error setting certificate verify locations: CAfile: /usr/local/opt/curl-ca-bundle/share/ca-bundle.crt CApath: /etc/ssl/certs ...when trying to install a ...
4
votes
2answers
142 views

send base64 encoded image using curl

I am trying to send a base64 encoded image from the command line using curl and base64 like this: curl -X POST -H "Content-Type: application/json" -d '{"image" : $( base64 ~/Pictures/1.jpg )}' ...
0
votes
0answers
18 views

install multiarch -dev package - apt does not resolve dependencies

I want to build third party software that uses the mcrypt and curl libraries. I have an armhf system and an x86_64 system, both Ubuntu 15.04. On the target I can do user@armhf:~$ sudo apt-get install ...
1
vote
1answer
82 views

How to fix CA cert issues with Curl in Ubuntu 14.04?

I am using Ubuntu 14.04. When I use curl, I get the following error: curl: (77) error setting certificate verify locations: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: From what I gather from ...
0
votes
0answers
41 views

How to install python-dev - without using apt-get - on ubuntu 12?

The question is pretty descriptive as it's noted. I'm at a working environment that I have not much access over. I have wget and curl, but I can't find any resources.
0
votes
1answer
42 views

I need CURL due https support

I'm trying to build APT. However, the configure script crashes saying configure: error: failed: I need CURL due https support How do I enable https for CURL? EDIT: My question is different, ...
1
vote
1answer
151 views

How to remove http headers from curl response?

How to remove HTTP headers from curl response in bash? I am getting this header values on every response how can I remove them? or not receive them? HTTP/1.1 200 OK Vary: Accept-Encoding ...
1
vote
1answer
195 views

Missing certificate GeoTrust DV SSL CA - G4

Got a new certificate, but wget and curl are not connecting anymore: wget https://MYDOMAIN ERROR: cannot verify MYDOMAINS's certificate, issued by ‘/C=US/O=GeoTrust Inc./OU=Domain Validated ...
0
votes
0answers
34 views

Upload images with curl to image hosting bash

I can upload images to a simple html/php host with curl but i do not understand how this works with sharenxs.com or stooorage.com I tried to use live HTTP header and firebug but i cant find any ...
0
votes
0answers
96 views

Ubuntu Lamp - Proxy - Firewall - Joomla curl and fsockopen wont work

Ok i have been struggling with this for a couple of days now. I have a Joomla installation on a local machine on our network for our intranet, also installed is Jomsocial. The problem is that when i ...
0
votes
1answer
51 views

Unable to install rvm using curl (https protocol issue)

I have a following problem. When using \curl -L https://get.rvm.io | bash -s stable --ruby to download rvm, I get error: curl: (1) Protocol https not supported or disabled in libcurl I'm ...
0
votes
0answers
120 views

Problem getting curl working in php and broken packages on install.

Im trying to get curl running in php on ubuntu 12.04. (A setup script complains that curl is not enabled, which appears to be true). phpinfo does not list curl at all ie it doesnt appear to even say ...
0
votes
0answers
8 views

How to install curl in ubunto 13.04 for RVM or ruby installation [duplicate]

I want to install ruby but I cannot use curl, the error is The program 'curl' is not installed when I used sudo apt-get install curl it doesn't work too, this is the error Package curl is not ...
0
votes
0answers
14 views

Unmet dependencies while installing php5-curl [duplicate]

I am trying to install php5-curl via terminal in Ubuntu 14.04. I got following error. sanchit@sanchit-Satellite-A660:~$ sudo apt-get install php5-curl Reading package lists... Done Building ...
0
votes
1answer
3k views

curl --resolve option not working: “Hostname was NOT found in DNS cache”

I am attempting to use curl's --resolve option to connect to the specified IP address when performing the HTTP request, but curl keeps reverting back to the IP address as retrieved by my local DNS ...
0
votes
2answers
180 views

how to query maas API with curl

I am trying to figure out how to query the MAAS server using curl. I am starting to experiment with CLI query so that I may build a python script for remote command and query without having to use ...
0
votes
1answer
129 views

Error installing curl

I wanted to install curl to program in C. However, I faced this weird problem: $:sudo apt-get install libcurl4-openssl-dev Reading package lists... Done Building dependency tree Reading ...
0
votes
0answers
229 views

On Linux - Cann't register snapshot repository in Elastic search

I am using Elastic search 1.4 and ubuntu 12.04.3 LTS.Trying to create a snapshot for Local elastic search. i refer this website ...
0
votes
2answers
36 views

Extracting latest googleAppEngine with curl + awk

I am trying to extract the latest version of google app engine from their catalog. To do this I am using curl + awk. I found that the following regex extracts what I need: ...
0
votes
0answers
66 views

issues with installing php5-curl

I am trying to download the curl extension for php5. I have php5-common downloaded but I am getting this error: php5-curl : Depends: php5-common (=5.5.9+dfsg-1ubuntu4) but 5.5.9+dfsg-1ubuntu4.5 is ...
0
votes
0answers
232 views

curl: (7) couldn't connect to host in couchdb

I followed the commands right from this site: https://launchpad.net/~couchdb/+archive/ubuntu/stable in installing the CouchDB in Ubuntu 12.04. I am using a Chromebook with Ubuntu OS via crouton, so I ...
0
votes
1answer
150 views

Do I need to install libcurl source package to use it for development?

I am working on a project that I used to use in a Windows environment. I recently migrated to KUbuntu and installed everything I needed (Qt, QtCreator and libcurl). However, after installing libcurl, ...
0
votes
0answers
102 views

PHP script works with Ubuntu 12.04.5 but NOT with Ubuntu 14.04

I have the following snippet in my code: $objCurl = curl_init(); curl_setopt($objCurl, CURLOPT_SSL_VERIFYHOST, FALSE); curl_setopt($objCurl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($objCurl, ...
0
votes
0answers
294 views

PHP cURL “Unknown SSL protocol error in connection to”

When I try to run my script using cURL on my computer via XAMPP, everything works perfectly: When I move it onto my server (Ubuntu 14.04 x64), it stops working and I continue to get this type of ...
2
votes
2answers
724 views

Is it possible to have multi-thread cURL with Flashgot in Ubuntu?

I have found here that there is a multi-thread version of cURL downloader. How to install it and can it be used with Flashgot? I am not looking for other multi-thread downloaders, I already have ...
1
vote
1answer
153 views

curl command fails with time out when downloading meteor

I'm having the same issue described here: curl command fails with a timeout The solution says to define the https proxy variable with all upper case letters. This is what I've tried: me@medev:~$ ...
0
votes
1answer
523 views

SSL connection with TLS connection error

I am using Ubuntu 12.04, installed at VirtualBox (Mac) using vagrant. I am not using any proxy server. In my company network, when I try curl -1vsS ...
2
votes
1answer
701 views

Curl requiring ciphers to be specified

I am trying to run this command: curl https://api-3t.sandbox.paypal.com/nvp On my ubuntu machine, it failes with the following error: curl: (35) error:14077410:SSL ...
0
votes
1answer
353 views

Posting XML through cURL using --data-binary

I have this really typical problem. I have an XML file that I have to post to a server. I was told by the network engineer of that site to use the cURL function. The function that he provided to me ...
0
votes
1answer
151 views

curl command fails with a timeout

I'm trying to run the following command on my ubuntu box: curl https://install.meteor.com/ | sh It times out. I tried to ping the address but it just sits there. I also tried to ping google.com ...
2
votes
1answer
1k views

curl .gz file and pipe it for decompression

I am trying to download some .gz files (N.B. not .tar.gz ones) from given URLs and decompress them to overwrite existing files, if any. For each individual download, I tried the following: curl -O ...
0
votes
0answers
15 views

I am not able to install curl package on ubuntu 11.10 [duplicate]

I'm trying to install meteor using: curl https://install.meteor.com | /bin/sh I run that comment command in a terminal but it gives me following error: The program 'curl' is currently not ...
2
votes
1answer
12k views

How to make Curl and PHP available when installed from Xampp

I have installed a recent copy of XAMPP on Ubuntu 14.04. However, when I issue this command: curl -sS https://getcomposer.org/installer | php I get the following error messages: The program ...
0
votes
1answer
2k views

What is the default timeout value for curl when used as command on terminal?

have searched a lot to find out default timeout value of curl. All suggests how to set timeout limit for curl. But Can anybody please suggest what is the default value of curl command timeout time? If ...
0
votes
1answer
662 views

Extract tar.gz to STDOUT and zip STDOUT

I need to extract an tar.gz archive I downloaded with curl into STDOUT and use the STDOUT as STDIN for zipping the files again. curl -L someURL | tar xz --strip-components=1 -O| zip -r test.zip ...
2
votes
0answers
1k views

fresh install, python-software-properties unmet dependencies

attention: This might be more a question for "gis.stackexchange" but it is Ubuntu-related Geonode 2.0 is available for Ubuntu 12.04 but not for Ubuntu 14.04. According to the docs it should be ...
0
votes
1answer
375 views

curl to tar to zip not working properly

I am wanting to download an tar.gz archive, extract it and compress it into a zip file in one command. Reason for this is to be independent from temporary files. The command I use: curl -L "someURL" ...
1
vote
1answer
208 views

Crontab not executing script with cURL

I have a cron that's set to run every ten minutes that works fine if I execute the file manually by entering php register.php But, my cron will not execute this file once it includes anything cURL ...
0
votes
1answer
230 views

Location of curl dns cache file and location of ubuntu global cache dns file

I have curl installed on my ubuntu instance. Can any one let me know location of curl dns cache file as well the location of global cache dns file. I was going through the curl documentation and ...
0
votes
1answer
3k views

Downgrading PHP from 5.5 to 5.3 on Ubuntu 14.04

now, I know that this question has been asked tons of times over the internet, but I followed lots of tutorials on the argument without being able to get to the answer. This is my situation: Ubuntu ...
1
vote
2answers
3k views

How to enable https support for curl in 14.04?

I have a "curl" program installed on Ubuntu 14.04 Server. Unfortunately, it does not support https. I have googled this problem and found a suggestion to replace "curl" package with "curl-ssl", but ...
0
votes
1answer
274 views

Juju bootstrap environment fails

i have a problem during deploying my first juju environment "maas". The host is commissioned by MAAS but during the juju deployment there is this error: Setting up libtcmalloc-minimal4 (2.1-2ubuntu1) ...
0
votes
0answers
198 views

curl: how to display chunk sizes and trailer headers?

I am trying to use curl to send a GET which responds with chunked data, and display the chunks, their sizes and any trailer headers. I tried curl --raw ... but it did not do what I needed. Is there an ...
0
votes
1answer
243 views

using curl command to download file in parts from different interfaces and to run the commands simultaneously from a script

i wanted to download a file using curl command simultaneously in different parts using ip aliasing(virtual Ethernet ports) so what i did was pasted the commands in a text file and run but the problem ...
1
vote
1answer
705 views

How to remove all traces of curl installed using libcurl package (.tar.gz)

I have installed curl package in ubuntu 12.04. I tried the sudo apt-get install php5-curl method but it did not work. I downloaded the curl-7.37.1.tar.gz package from ...
0
votes
1answer
163 views

Ubuntu with both 32bit and 64bit libcurl

Im running a c++ application and Asterisk in 64bit Ubuntu machine.My C++ application needs 32bit libcurl. And Asterisk needs 64bit libcurl to do some http calls in the dialpaln.Can I keep both 32bit ...
1
vote
2answers
2k views

saving multiple files with cURL

I have this list of URLs in a .txt file -which i'm suppose to get content of them. To achieve this, i decided to use cURL. With xargs curl < url-list.txt , i can display all the content of the URL ...
1
vote
0answers
283 views

cURL - 404 error when trying to POST a file

Forgive my Linux n00bishness, I'm only just starting out! I'm trying to POST a file to a Windows web listener using cURL but am receiving an error that I haven't been able to find an explanation for ...
0
votes
1answer
1k views

PHP Startup Unable to load dynamic library

I'm getting this error in my apache error log while trying to get cURL to work on PHP: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/curl.so' - ...