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

learn more… | top users | synonyms

1
vote
2answers
2k 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
2answers
101 views

trying to install curl with homebrew, getting “incompatible library version” for libcurl.4.dylib

I am on OSX 10.9.5. I would like to use a later version of CURL than what is bundled with OSX, but I do not want to remove the OSX binary just in case, so I wanted to opt to install it via homebrew. ...
0
votes
2answers
340 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 ...
2
votes
1answer
86 views

splitting a CSV and keeping the header without intermediate files

I am trying to split a dozen 100MB+ csv files into managable smaller files for a curl post. I have managed to do it but with a lot of temporary files and IO. It's taking an eternity. I am hoping ...
1
vote
1answer
88 views

Sending CURL request with custom IP

Shouldn't it be possible? Let's assume I don't need a response, I just want to send a request. Shouldn't we be able to alter tcp/ip headers, because our computer sends it? I am probably missing ...
0
votes
1answer
16 views

Loop across url with static tokens with Oauth

I need to write a loop where I need to pass a "token" (which is fixed) and a variable (i) in the url. Is there any way I can achieve that? I wrote the following code but it is not working. If I put ...
0
votes
1answer
38 views

Curl fails to download a file during start up

I am adding startup script in Ubuntu with update-rc.d. My script says : #!/bin/bash nohup curl -C - -o ~/Downloads/linuxmint-17-xfce-dvd-64bit.iso.part ...
0
votes
1answer
40 views

to check the url is live

I have written a script to check if our three URLs are up else echo down.now the problem is even if the URLs are down in that script I get the message URLs are up In the code I have greped 302 ...
0
votes
1answer
128 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
1k 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
20 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
826 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
332 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 ...
-1
votes
1answer
499 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 ...
2
votes
0answers
129 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
167 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
298 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
18 views

Can I control number of TCP Connections per second in curl?

I am trying to make one traffic generator tool in linux centOS 6.5. I am using curl for this purpose. I can generate traffic from virtual interfaces using curl but I don't know if I can control number ...
1
vote
0answers
29 views

Transparent proxy to other IP of thousand ports

I was bought a service that only allow a IP, the IP that i say, only one, but I need use this from more IP's. I think that I can install in this computer a system to do a transparent proxy for ...
1
vote
0answers
32 views

IPTable rules for transparent outbound proxy

I've recently installed MITMProxy (similar to Squid) which I'm currently using to route outbound HTTP requests from my Ubuntu machine to another server (adding a header along the way). When I use ...
1
vote
0answers
63 views

Curl takes JSON file as input but not the content of a JSON file

I am uploading a JSON file using curl. I give the following in the command line as: $ curl -v --header "Content-Type: application/json" -X POST \ http://site -d @test.json where test.json is ...
1
vote
0answers
27 views

FreeBSD: spdylay build error

I try to install the latest curl updates from ports (curl-7.37.1_2) with HTTP/2.0 support enabled and I need to build spdylay for that purpose, but I keep getting the following strange errors and ...
1
vote
0answers
99 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
26 views

cURL settings in debian

I recently setup a cURL script, wich I tested at a Windows XAMPP envirement. Now I want to bring it live on our Debian machine, but its not working anyhow. I think this has something to do with the ...
0
votes
0answers
23 views

Could session.cache_expire time in php5-fpm/php.ini cause PHP cURL responses to be empty?

Could session.cache_expire time in php5-fpm/php.ini cause PHP cURL requests to have empty responses, if the cache expired before the response came back? My code is like this: $ch = ...
0
votes
0answers
750 views

Linux curl request for SOAP webservice call

I have a SOAP webservice WSDL and when I make a call with SOAP-UI tool, it works perfectly fine.... Now, Im trying to mimic the same call using LINUX CURL but get a 404 error, Here is my CURL ...
0
votes
0answers
95 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
238 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
51 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
76 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
360 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: ...
-2
votes
0answers
47 views

certain web sites are not accesible from Centos 6.5

HW: Lenovo T520 laptop with MS WIN 7 dedicated PC (DELL GX 280) SW: CentOS 6.5 (64-bit) installed using VMware Player on MS WIN 7 host CASE A) -- BRIDGED networking selected CASE B) -- NAT ...