curl is a data transfer utility used for a multitude of network=related applications (such as scraping data).

learn more… | top users | synonyms

1
vote
1answer
27 views

cURL SFTP upload speed only 50% compared to command line SFTP

I need to use cURL to upload some files to an SFTP server, it has to be using cURL because I'll be later using cURL_multi etc to transfer files simultaneously (unless anyone knows a command line ...
2
votes
0answers
23 views

Curl --insecure error in Cygwin (works in Linux)

curl is returning an error in cygwin. how do i eliminate this error? curl --insecure -X POST -d '<run><log ...
1
vote
2answers
43 views

I am not able access certain website

I am trying to access www.psychologytoday.com and it fails every time. I tried proxysites and still but every time connection got refused. I've checked Google cached page of the same. Only a few ...
-1
votes
1answer
42 views

How to add self signed certificate to certificate bundle?

How to add self signed certificate to certificate bundle so that the Curl http client can verify the self signed certificate as valid one?
0
votes
0answers
13 views

How can i automate attaching log files in SBM serena business manager SCR tickets

I have to automate the following task. Using a script, I want to automatically attach a file to SBM Serena Business Manager's SCR ticket's ATTACHMENT section --or update other infomation in SCR like ...
1
vote
1answer
927 views

How do I install hiphop-php in CentOS 6?

I've been trying to install hiphop-php on CentOS 6 with no luck. I found an .rpm for it but it fails dependency checks on boost which fails to install because it depends on curl which fails to ...
16
votes
5answers
7k views

PowerShell equivalent of curl

Is there an equivalent of curl in PowerShell? Does it have some similar built-in capability or is there a 3rd party cmdlet?
0
votes
1answer
69 views

Upload folder with cURL and FTP using Batch file on Windows?

I am trying to upload a whole folder, including it's sub-folders and files to a folder on my server from a Windows batch (.bat) file. Below is the command I have for the Upload part... curl -T ...
0
votes
1answer
25 views

Upload a file with a comma in its name with curl

How can I upload a file named yes, this filename has a comma.txt with the cli curl? You would normally do this to upload a file with curl: curl --progress-bar -F "fileUpload=@filename.txt" However ...
0
votes
1answer
37 views

Can I make cURL fail with an exitCode different than 0 if the HTTP status code is not 200?

I was always assuming that when curl got an HTTP 500 response it was returning an exit code that meant failure (!= 0), but that seems to be not the case. Is there a way I can I make cURL fail with an ...
-1
votes
1answer
43 views

cURL for Mac OS X Lion

I am looking for cURL for Mac OS X 10. I have found versions that go up to OS X 8 (Link), but no later. Is there a version for OS X 10 (Mac OS X Lion 10.7.5 (11G63)) or another tool?
0
votes
3answers
65 views

Batch - Get the url of to a file from html document

I want to use curl to download the latest version of this file. The site has a robots.txt, however, which is what I think is stopping me from just using curl -L -z WorldGuard.zip ...
0
votes
1answer
18 views

cURL unable to interpret hostnames, proxy issue?

When using cURL from my ubuntu machine to merely GET from a remote machine, I seem unable to resolve the hostname and just get a Proxy Issue - The proxy has encountered an error (Error 21: Server ...
0
votes
1answer
62 views

Why doesn't my script work?

The script I am using is FOR /F "tokens=91 delims=<>" %%v IN ('curl http://ci.onarandombox.com/job/Multiverse-Core/lastStableBuild/api/xml') DO ECHO %%v What I want it to do is search the output ...
0
votes
1answer
57 views

Download a file from the latest stable Jenkins build

Using a batch file and wget/curl, how can I download the Multiverse-Core-.jar from here? http://ci.onarandombox.com/job/Multiverse-Core/lastStableBuild/artifact/target/ I want to use the timestamping ...
-2
votes
0answers
24 views

Display progress when we run action using ant with curl [closed]

My code is. <target name="retrieve-userdata" depends="test-src"> <echo message="start the process for fetch region and event"/> <exec executable="curl"> ...
0
votes
0answers
35 views

cURL wont download for me?

OS X 10.8.3, from a terminal I am executing: $ curl -OCv http://<URL>/<file>.dmg I get (for 2 seconds) % Total % Received % Xferd Average Speed Time Time Time Current ...
481
votes
5answers
384k views

What is the cURL command-line syntax to do a POST request?

How do I make a POST request with cURL command-line tool?
1
vote
1answer
49 views

curl ifconfig.me and ifconfig showing different results

If I run curl ifconfig.me I get one IP, and if I run ifconfig, I get other IP's. Why is it so ?
0
votes
1answer
78 views

curl (48) An unknown option was passed in to libcurl, cannot install composer

I'm trying to install composer via cURL but I cannot find how to download the phar archive. I've installed cURL from source activating in it's build ssl and ssh compatibility; I need composer to have ...
0
votes
2answers
554 views

Formatting cURL Output in the Windows Terminal

When I try to perform the cURL request here, Windows 7 (x64) returns an output with no line breaks: C:\Users\kiwi>curl http://www.documentcloud.org/api/search.json?q=group:nytimes ...
0
votes
1answer
130 views

What tool does yum use to download rpm packages from remote server?

My system is centos, and now I am installing packages using yum command. Updating for dependencies: apr-util i386 1.3.9-1.el5 lxcenter-updates 203 k gcc-gfortran ...
0
votes
0answers
21 views

Liveheader/Curl script for reconnecting Netgear WNR2000V1 router

I need a Liveheader/Curl script for reconnecting my Netgear WNR2000V1 router for a program called jDownloader. I've tried asking on the official forums, but I haven't gotten a useful reply. Can anyone ...
0
votes
2answers
318 views

What should I do in order to build curl without an error?

This failed when I run ./buildconf The error information is as follows: [mirror@home curl]$ ls acinclude.m4 CMakeLists.txt GIT-INFO MacOSX-Framework packages TODO-RELEASE ...
0
votes
2answers
230 views

CURL Error version OPENSSL_1.0.1 'not found …'

I have the last few days, a concern with CURL. I get this error: curl: / lib/i386-linux-gnu/libssl.so.1.0.0: version `OPENSSL_1.0.1 'not found (required by / usr/lib/i386-linux-gnu / libcurl.so.4) ...
1
vote
2answers
62 views

How to stop cURL from writing over downloaded files

I'm using $ xargs -n 1 curl -O < gwurls.txt to grab a long list of files. Unfortunately, the site I'm grabbing from relies on the path to provide uniqueness, so -O doesn't know the difference ...
1
vote
1answer
104 views

How to split the HTTP error code from the contents in cURL?

Yes, this is related to Getting curl to output HTTP status code? but unfortunately not the same. In a script I would like to run: curl -qSfsw %{http_code} URL where the -f option ensures that the ...
1
vote
0answers
189 views

Libcurl-devel on Mac OS X

I am trying to build an application that depends on libcurl version 7.21 or newer on Mac OS X 10.5.8. I tried downloading and installing the latest version from libcurl's website, but the application ...
2
votes
0answers
34 views

curl works but ping/urllib2 don't, in a virtual machine

I have a Crunchbang 10 VM running on VirtualBox on a Windows 7 Home host. I have a python script that uses urllib2 that was failing, and discovered that: ordinary browsing and curl work normally on ...
1
vote
1answer
59 views

Is it possible to send the output of -w and -o Curl streams to different files? How?

I'd like to run a curl command, grep the output (response payload) for some keywords, then also print some metrics via the -w option. I think this would be easy to do if I could direct the -o ...
37
votes
4answers
55k views

Run cURL commands from Windows console

Is there a way to install cURL in windows in order to run cURL commands from the command prompt?
2
votes
0answers
66 views

PHP : curl is and Not working in ubuntu10.04 and Nginx

I am running Nginx server on ubuntu 10.04 I am using the php version 5.3.2 .I installed php5-curl using apt-get install php5-curl. Unfortunately the curl package is not displaying in phpinfo() . ...
0
votes
1answer
36 views

Get Directory/file structure without payload

I need to recursively retreive the file/directory structure of an FTP server, getting only file names (without payload). Can you help me how to do this (curl, wget, ...)? The result should be the ...
4
votes
1answer
102 views

Why does sudo not work with curl?

I ran a command to download something with curl and it threw a permission denied error. So I did sudo curl and I got the same error... Why is that? I was able to run the install command without ...
0
votes
0answers
72 views

Why can't I proxy SSL connections in Charles under Linux (ubuntu)?

I want to proxy some API requests over SSL from a PHP application using Charles Proxy which should allow me to view unencrytped requests. I've done this on Windows before but on Linux, I'm seeing the ...
0
votes
1answer
89 views

piping output from curl to rpm2cpio

I download alot of srpms to rummage through, I used to go through a long winded approach, root@server$ curl rpm -o file.rpm root@server$ rpm2cpio file.rpm | cpio -id but that leaves behind an ugly ...
0
votes
1answer
68 views

How to check for a value after curl or wget?

I need to curl/wget a page and make sure it returned a particular value (else return 1), something like this: curl http://example.com/something/run | grep -e '^success!$' || return 1 Which flags ...
1
vote
1answer
200 views

POSTing a file's contents with CURL

(The following is backstory, you can jump down to "Question:" if you'd like) There's a webpage for one of my courses that accepts input text (expected to be Python code) and then gives some tokenized ...
0
votes
0answers
23 views

Linux curl SHA 256

My openssl digest shows -sha256, but how can I tell curl to use it? certs="--cacert Cert.pem" options=" --? --remote-time --silent --show-error" Help please?
2
votes
2answers
45 views

Use of curl command via HTTP

Using curl command, how to transfer a file from one location to other via HTTP request?
2
votes
1answer
124 views

Unable to resolve host using curl/wget while page loads in browser

The problem I am facing is that while I open a link in my browser it loads quickly but whenever I try using the link in terminal with for e.g. curl -0 www.google.com or wget ...
7
votes
3answers
25k views

CURL to download a directory

I am trying to download a full website directory using CURL. The following command does not work: curl -LO http://example.com/ It returns an error: curl: Remote file name has no length!. But when ...
0
votes
1answer
123 views

Downloading and extracting a .tar to a specific directory

I want to download a tar of a git repo and extract its contents to another folder. The following line (broken up for clarity) works: curl -L -0 nt-dotfiles.tar.gz ...
0
votes
2answers
179 views

cURL or xargs: show progress

I am using cURL to download many files and concatenate them to STDOUT. About 100,000 small files. I would like to see progress against the 100,000. Is this possible with curl or by using curl into ...
0
votes
4answers
92 views

Simple script parsing text, what is wrong here?

I'm a big user of https://www.grc.com/passwords.htm to get strong passwords. However, having to go to the site and manually copy the password every time gets old fast, so I decided to do a little ...
0
votes
0answers
248 views

Can anybody show me how to call from command line curl `POST` request with array for parameter? [closed]

Can anybody show me how to call from command line curl POST request with array for parameter ? I am developing server app with Tornado/Python and need to get parameter like [value_1,value_2...]
2
votes
1answer
887 views

using cURL to download all files in certain folder, except 404 error page?

I'm using cURL in ubuntu to download some files like pic001.jpg pic002.jpg pic003.jpg ... pic999.jpg While some files may be missing from this sequence but when I just use ...
1
vote
0answers
52 views

No output returned when curl ing any URL in Red Hat 6 but the same url works in lynx browser

I am trying to install some packages in Python using easy install. But i get a 'Download Error' for any package i try to install. So i tried to test if internet is accessible at all from the machine ...
0
votes
1answer
54 views

CURL -I issue stop responding when contain “=”

i did this command : curl -I ...
19
votes
4answers
16k views

Getting curl to output HTTP status code?

I'm using curl at the command line on Linux to issue HTTP requests. The response bodies are printed to standard out, which is fine, but I can't see from the man page how to get curl to print the ...

1 2 3 4