cURL is a CLI tool for issuing HTTP GET, POST, & PUT request.

learn more… | top users | synonyms

0
votes
2answers
107 views

download multiple files from sourceforge

Is there any way to download / mirror a folder structure with many files from sourceforge using wget/curl/similar tool? I've seen some examples using rsync or scp but I think that works only for SF ...
0
votes
2answers
1k views

Git pull error libcurl.so.3 not found

I have a php script to git pull from my github repository set up in my webservice hook urls like so: <?php echo shell_exec('~/git/usr/bin/git pull 2>&1'); ?> When I open this script ...
0
votes
1answer
32 views

Uploading a file over FTPS

As the title says, I need to automatically upload an excel file to a FTPS server. Right now I'm using curl but if there is a better option out there, I'm all ears. What I have so far: curl -k ...
0
votes
1answer
483 views

Proper escaping of double quotations for curl post data?

I'm trying to test out a server, by sending it JSON data and reading the response. I need to POST data like {"item":"value with spaces"} but when I use curl I find that it sends the backslashes as ...
0
votes
1answer
18 views

curl does not return any thing for protected file

I have a file on the server that is HTTP Head password protected, but when I tried to get the page the command returned with nothing at all: curl --user username:password http://mysite.com
0
votes
1answer
503 views

Slow DNS resolve from curl/lynx etc

I have a strange issue with DNS resolving: Root of the problem is that I get curl errors: "Error executing HTTP request: name lookup timed out". Tried to ping some sites, all resolved fine (and fast). ...
0
votes
1answer
254 views

How to print gmail inbox messages

I want to print inbox messages one by one (like cat someFile) so that I can parse the message contents. something like printGmail InboxMesg1 | grep some | sed some Using curl I can access the ...
0
votes
1answer
252 views

403 http code appears when I go to a certain website

I wrote a PHP script to a particular site using a home computer for debugging. Script worked properly, when I tested it on a home computer. The script has stopped working when I deploy the script on ...
2
votes
0answers
57 views

Difference between “curl -XPUT --data-binary @${file_path}” and “curl -XPUT -T ${file_path}”?

While using curl to POST or PUT a file to a url, there are two different ways to load the file content: -T ${file_path} --data-binary @${file_path} or -d $@{file_path} (for ascii data files) What ...
2
votes
0answers
85 views

Problems uploading a file via WebDAV?

I've configured on my Linux server (SLES11) with IHS Webserver with WebDAV enabled. A file upload via curl is successful using a URL like this: $ curl --insecure --upload-file testfile.txt \ ...
2
votes
0answers
265 views

Nagios not running notify command

I am in the process of creating a notify command for our Nagios server to notify us via our Kannel SMS sender. This is what I got so far: /usr/local/bin/curl -v -G -d 'username=user' -d ...
1
vote
0answers
66 views

phpcurl not able to install on terminal

I am not able to install packages php and curl. But its gives dependencies error, please check below curl : Depends: libcurl3 (= 7.29.0-1ubuntu3.4) but 7.32.0-1ubuntu1 is to be installed ...
0
votes
0answers
33 views

Linking synergyc: libcurl - undefined reference

I'm trying to compile synergy 1.5.0 on openSUSE 13.1 (Kernel 3.11.10-17). While linking, I get the following error: ... [ 83%] Built target ipc [ 84%] Built target client Linking CXX executable ...
0
votes
0answers
122 views

How to add SSL with cURL URL using Ubuntu Terminal

While running a Twitter API from cURL in Ubuntu Terminal it asked me to use SSL. After searching for it, I tried: sudo curl -s https://localhost:8080/tweets/HLaddha sudo curl -k ...
0
votes
0answers
32 views

curl unable to find cslistener

netstat shows some connection from my linux box to remote host on their cslistener port. But trying to access that port using curl is giving error : $ curl -v https://myapp.domain.com:cslistener * ...
0
votes
0answers
54 views

Drag and drop files with cURL

I know that curl supports file upload e.g. here. Is it possible to upload files to site which has HTML5 Drag and Drop box for file uploading
0
votes
0answers
284 views

libcurl4-gnutls-dev : Depends: libldap2-dev but it is not going to be installed

I am trying to install curl in my ubuntu server as I was getting this error whenever I am compiling my C++ code - fatal error: curl.h: No such file or directory Below is the error: ...
0
votes
0answers
298 views

Difference between curl -d `data` and curl -d @file

I would like to convert my configuration files for ElasticSearch from JSON to YML. I am using curl for all REST related opertions overhanding the file via $ curl -X PUT ...