Lines Matching full:curl
10 1.1 What is cURL?
12 1.3 What is curl not?
13 1.4 When will you make curl do XXXX ?
14 1.5 Who makes curl?
15 1.6 What do you get for making curl?
16 1.7 What about CURL from curl.com?
18 1.9 Where do I buy commercial support for curl?
19 1.10 How many are using curl?
22 1.13 curl's ECCN number?
28 2.2 Does curl work/build with other SSL libraries?
29 2.4 Does curl support SOCKS (RFC 1928) ?
32 3.1 curl: (1) SSL is disabled, https: not supported
33 3.2 How do I tell curl to resume a transfer?
35 3.4 How do I tell curl to run custom FTP commands?
37 3.6 Does curl support ASP, XML, XHTML or HTML version Y?
38 3.7 Can I use curl to delete/rename a file through FTP?
39 3.8 How do I tell curl to follow HTTP redirects?
40 3.9 How do I use curl in my favorite programming language?
45 3.14 Does curl support Javascript or PAC (automated proxy config)?
46 3.15 Can I do recursive fetches with curl?
49 3.18 Can I use curl to send a POST/PUT and not wait for a response?
53 3.22 curl -X gives me HTTP problems
67 4.7 How do I keep user names and passwords secret in curl command lines?
69 4.9 curl can't authenticate to the server that requires NTLM?
73 4.13 Why is curl -R on Windows one hour off?
74 4.14 Redirects work in browser but not with curl!
79 4.19 Why doesn't curl return an error when the network cable is unplugged?
80 4.20 curl doesn't return error for HTTP non-200 responses!
107 6.5 Can I modify curl/libcurl for my program and keep the changes secret?
108 6.6 Can you please change the curl/libcurl license to XXXX?
111 7. PHP/CURL Issues
112 7.1 What is PHP/CURL?
113 7.2 Who wrote PHP/CURL?
115 7.4 Does PHP/CURL have dependencies?
121 1.1 What is cURL?
123 cURL is the name of the project. The name is a play on 'Client for URLs',
127 version: "curl URL Request Library".
129 The cURL project produces two products:
151 curl
155 Since curl uses libcurl, curl supports the same wide range of common
158 We pronounce curl with an initial k sound. It rhymes with words like girl
164 curl in the project names in various combinations, but you should take
165 notice that this FAQ is directed at the command-line tool named curl (and
166 libcurl the library), and may therefore not be valid for other curl-related
167 projects. (There is however a small section for the PHP/CURL in this FAQ.)
181 1.3 What is curl not?
183 curl is not a wget clone. That is a common misconception. Never, during
184 curl's development, have we intended curl to replace wget or compete on its
185 market. curl is targeted at single-shot file transfers.
187 curl is not a website mirroring program. If you want to use curl to mirror
188 something: fine, go ahead and write a script that wraps around curl or use
191 curl is not an FTP site mirroring program. Sure, get and send FTP with curl
195 curl is not a PHP tool, even though it works perfectly well when used from
196 or with PHP (when using the PHP/CURL module).
198 curl is not a program for a single operating system. curl exists, compiles,
203 1.4 When will you make curl do XXXX ?
205 We love suggestions of what to change in order to make curl and libcurl
207 curl:
209 curl -- the command line tool -- is to remain a non-graphical command line
213 We do not add things to curl that other small and available tools already do
214 very well at the side. curl's output can be piped into another program or
218 magic with the supported protocols than curl currently does, chances are good
223 considerable time already on maintaining and developing curl. In order to
226 https://github.com/curl/curl, fork the project, and create pull requests
229 If you write the code, chances are better that it will get into curl faster.
231 1.5 Who makes curl?
233 curl and libcurl are not made by any single individual. Daniel Stenberg is
241 curl is developed by a community, with Daniel at the wheel.
243 1.6 What do you get for making curl?
245 Project cURL is entirely free and open. We do this voluntarily, mostly in
246 our spare time. Companies may pay individual developers to work on curl,
248 supervised in any way by the curl project.
252 tracker at https://github.com/curl/curl. Also again, some companies have
259 See also: https://curl.se/sponsors.html
261 1.7 What about CURL from curl.com?
263 During the summer of 2001, curl.com was busy advertising their client-side
264 programming language for the web, named CURL.
266 We are in no way associated with curl.com or their CURL programming
269 Our project name curl has been in effective use since 1998. We were not the
270 first computer related project to use the name "curl" and do not claim any
273 We recognize that we will be living in parallel with curl.com and wish them
279 curl-related questions on a suitable mailing list. All available mailing
281 https://curl.se/mail/
283 Keeping curl-related questions and discussions on mailing lists allows
290 If you have found or simply suspect a security problem in curl or libcurl,
291 mail curl-security at haxx.se (closed list of receivers, mails are not
296 1.9 Where do I buy commercial support for curl?
298 curl is fully open source. It means you can hire any skilled engineer to fix
299 your curl-related problems.
301 We list available alternatives on the curl website:
302 https://curl.se/support.html
304 1.10 How many are using curl?
308 We don't know how many users that knowingly have installed and use curl.
310 We don't know how many users that use curl without knowing that they are in
313 We don't know how many users that downloaded or installed curl and then
316 In 2020, we estimate that curl runs in roughly ten billion installations
321 In the cURL project we've decided not to attempt to keep this file updated
329 be a lot better than a private curl version.
334 for this purpose: https://curl.se/docs/caextract.html
338 There's a bunch of friendly people hanging out in the #curl channel on the
342 1.13 curl's ECCN number?
351 We believe curl's number might be ECCN 5D002, another possibility is
367 "pull requests" on github: https://github.com/curl/curl/pulls
370 the curl-library mailing list. We're many subscribers there and there are
411 2.2 Does curl work with other SSL libraries?
413 curl has been written to use a generic SSL function layer internally, and
417 curl can be built to use one of the following SSL alternatives: OpenSSL,
421 maintain a comparison of them here: https://curl.se/docs/ssl-compared.html
423 2.4 Does curl support SOCKS (RFC 1928) ?
429 3.1 curl: (1) SSL is disabled, https: not supported
432 it means that the instance of curl/libcurl that you're using was built
436 couldn't find all libs and include files curl requires for SSL to work. If
437 the configure script fails to find them, curl is simply built without SSL
440 To get the https:// support into a curl that was previously built but that
448 3.2 How do I tell curl to resume a transfer?
450 curl supports resumed transfers both ways on both FTP and HTTP.
456 the HTTP operation you need curl to do and what the web server that will
470 3.4 How do I tell curl to run custom FTP commands?
472 You can tell curl to perform optional commands both before and/or after a
475 Since curl is used for file transfers, you don't normally use curl to
486 3.6 Does curl support ASP, XML, XHTML or HTML version Y?
488 To curl, all contents are alike. It doesn't matter how the page was
490 files. There's no difference to curl and it doesn't even know what kind of
495 3.7 Can I use curl to delete/rename a file through FTP?
501 curl -O ftp://download.com/coolfile -Q '-DELE coolfile'
505 curl -T infile ftp://upload.com/dir/ -Q "-RNFR infile" -Q "-RNTO newname"
507 3.8 How do I tell curl to follow HTTP redirects?
509 curl does not follow so-called redirects by default. The Location: header
513 curl -L http://redirector.com
517 3.9 How do I use curl in my favorite programming language?
520 curl without having to use the command line tool. If you are fluent in such
523 Find out more about which languages that support curl directly, and how to
524 install and use them, in the libcurl section of the curl website:
525 https://curl.se/libcurl/
528 outside of the cURL project. The cURL project itself only produces libcurl
530 about bindings on the curl-library list too, but be prepared that people on
544 curl adheres to the HTTP spec, which basically means you can play with *any*
557 curl -d "datatopost" -H "Content-Type: text/xml" [URL]
576 curl -d " with spaces " url.com
580 curl -d ' with spaces ' url.com
588 the curl docs will use a mix of both of these as shown above. You must
591 Remember that curl works and runs on more operating systems than most single
594 3.14 Does curl support Javascript or PAC (automated proxy config)?
596 Many web pages do magic stuff using embedded Javascript. curl and libcurl
603 the name of the proxy to connect to. Since curl doesn't support Javascript,
618 3.15 Can I do recursive fetches with curl?
620 No. curl itself has no code that performs recursive operations, such as
625 it, but the command line tool curl itself cannot.
630 talk about using SSL-based protocols (HTTPS or FTPS) using curl or libcurl.
651 bundle. curl does not come with a CA cert bundle but most curl installs
656 certificate. Server certificate verification is enabled by default in curl
659 (https://curl.se/docs/sslcerts.html). Server certificates that are
670 curl ftp://ftp.sunet.se/%2ftmp/
675 curl ftp://ftp.sunet.se//tmp/
677 3.18 Can I use curl to send a POST/PUT and not wait for a response?
692 curl --header "Host: www.example.com" http://127.0.0.1/
694 You can also opt to add faked host name entries to curl with the --resolve
698 curl --resolve www.example.com:80:127.0.0.1 http://www.example.com/
709 curl -O -u user:password sftp://example.com/~/file.txt
713 curl -O -u user:password scp://example.com/~/file.txt
717 When passing on a URL to curl to use, it may respond that the particular
719 is phrased is because curl doesn't make a distinction internally of whether
721 knows how to speak that protocol) or if it was explicitly disabled. curl can
729 3.22 curl -X gives me HTTP problems
733 By default you use curl without explicitly saying which request method to
735 "curl http://example.com" it will use GET. If you use -d or -F curl will use
738 If for whatever reason you're not happy with these default choices that curl
740 [WHATEVER]. This way you can for example send a DELETE by doing "curl -X
743 It is thus pointless to do "curl -XGET [URL]" as GET would be used
744 anyway. In the same vein it is pointless to do "curl -X POST -d data
746 request-body in a GET request with something like "curl -X GET -d data
749 Note that -X doesn't actually change curl's behavior as it only modifies the
754 a 303 redirect, you will effectively prevent curl from behaving
770 curl 'http://www.altavista.com/cgi-bin/query?text=yes&q=curl'
783 a URL specified to curl you must quote them.
787 curl '{curl,www}.haxx.se'
790 them for the curl URL "globbing" system), use the -g/--globoff option:
792 curl -g 'www.site.com/weirdname[].html'
796 curl asks remote servers for the page you specify. If the page doesn't exist
801 By using the --fail option you can tell curl explicitly to not get any data
847 All curl error codes are described at the end of the man page, in the
851 that curl has exited due to a crash. This is a serious error, and we
855 4.7 How do I keep user names and passwords secret in curl command lines?
861 avoided by using the "-K" option to tell curl to read parameters from a file
862 or stdin to which you can pass the secret info. curl itself will also
867 not a task that curl addresses. You could of course encrypt them somehow to
889 4.9 curl can't authenticate to the server that requires NTLM?
905 software you're trying to interact with. This is not anything curl can do
915 When you invoke curl and get an error 60 error back it means that curl
916 couldn't verify that the server's certificate was good. curl verifies the
931 fails in curl. When this happens, the reason is usually that the server
940 https://curl.se/docs/sslcerts.html
942 4.13 Why is curl -R on Windows one hour off?
944 Since curl 7.53.0 this issue should be fixed as long as curl was built with
946 compilers or prior curl versions it may set a time that appears one hour off.
951 4.14 Redirects work in browser but not with curl!
953 curl supports HTTP redirects well (see item 3.8). Browsers generally support
954 at least two other ways to perform redirects that curl does not:
962 There is no way to make curl follow these redirects. You must either
968 curl supports FTPS (sometimes known as FTP-SSL) both implicit and explicit
971 When a URL is used that starts with FTPS://, curl assumes implicit SSL on
1008 anything else. This will make (lib)curl to consider the connection connected
1013 When using curl to try to download a local file, one might use a URL
1018 You'll find that even if D:\blah.txt does exist, curl returns a 'file
1024 host component, and is taken away. Thus, curl tries to open '/blah.txt'.
1037 In either case, curl should now be looking for the correct file.
1039 4.19 Why doesn't curl return an error when the network cable is unplugged?
1051 for it to detect an issue. The curl option --keepalive-time enables
1058 don't use TCP. To handle those situations, curl offers a number of timeouts
1069 4.20 curl doesn't return error for HTTP non-200 responses!
1073 When doing HTTP transfers, curl will perform exactly what you're asking it
1074 to do and if successful it will not return an error. You can use curl to
1080 curl. It simply sends and delivers HTTP as you asked and if that worked,
1082 higher level error information that curl doesn't care about. The error was
1087 message, curl has a dedicated option for that: -f (CURLOPT_FAILONERROR in
1106 https://curl.se/libcurl/c/threadsafe.html
1167 curl and libcurl have excellent support for persistent connections when
1168 transferring several files from the same server. curl will attempt to reuse
1335 curl -s ftp.funet.fi/pub/ -X MLSD | \
1338 curl -s ftp.kernel.org/pub/linux/kernel/ | \
1387 curl and libcurl are released under a MIT/X derivative license. The license is
1423 6.5 Can I modify curl/libcurl for my program and keep the changes secret?
1431 6.6 Can you please change the curl/libcurl license to XXXX?
1438 we want on curl/libcurl and it does not spread to other programs or
1440 curl in their projects, no matter what license they already have in use.
1461 As can be seen here: https://curl.se/docs/companies.html and elsewhere,
1466 7. PHP/CURL Issues
1468 7.1 What is PHP/CURL?
1470 The module for PHP that makes it possible for PHP programs to access curl-
1473 In the cURL project we call this module PHP/CURL to differentiate it from
1474 curl the command line tool and libcurl the library. The PHP team however
1476 CURL (often using all caps) or sometimes ext/curl, but both cause much
1479 7.2 Who wrote PHP/CURL?
1481 PHP/CURL was initially written by Sterling Hughes.
1492 7.4 Does PHP/CURL have dependencies?
1494 PHP/CURL is a module that comes with the regular PHP package. It depends on
1496 PHP/CURL can be used.