cURL

cURL
cURL
Curl.png
Example output from curl -O.
Original author(s) Daniel Stenberg
Initial release 1997[1]
Stable release 7.23.0 / 15 November 2011; 4 days ago (2011-11-15)
Development status Active
Written in C
Operating system Cross-platform
Type FTP client / HTTP client
License Free Software: MIT/X derivate license
Website curl.haxx.se

cURL is a computer software project providing a library and command-line tool for transferring data using various protocols. The cURL project produces two products, libcurl and cURL. It was first released in 1997.

Contents

libcurl

A free client-side URL transfer library, supporting FTP, FTPS, Gopher, HTTP, HTTPS, SCP, SFTP, TFTP, Telnet, DICT, the file URI scheme, LDAP, LDAPS, IMAP, POP3, SMTP and RTSP. The library supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, Kerberos, HTTP form based upload, proxies, cookies, user-plus-password authentication, file transfer resume, and HTTP proxy tunneling.

The libcurl library is portable. It builds and works identically on several platforms, including Solaris, NetBSD, FreeBSD, OpenBSD, Darwin, HPUX, IRIX, AIX, Tru64, Linux, UnixWare, HURD, Windows, Symbian, Amiga, OS/2, BeOS, Mac OS X, Ultrix, QNX, OpenVMS, RISC OS, Novell NetWare, DOS and more.

The libcurl library is free, thread-safe, IPv6 compatible, and fast. Bindings in more than 40 languages are available for libcurl.

cURL

A command line tool for getting or sending files using URL syntax.

Since cURL uses libcurl, it supports a range of common Internet protocols, currently including HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, LDAP, LDAPS, DICT, TELNET, FILE . IMAP, POP3, SMTP and RTSP (the last four-only in versions newer than 7.20.0 or 9 February 2010).

The name of the project is a play on 'Client for URLs', originally with URL spelled in uppercase to make it obvious that it deals with URLs. The fact it can also be pronounced 'see URL' also helped; it works as an abbreviation for "Client URL Request Library" or the recursive version: "Curl URL Request Library".

Daniel Stenberg started writing cURL in 1997, as a way to transfer files via protocols such as http, ftp, gopher, and many more, via a command-line interface. Several other people made important and crucial contributions to the project. Distributed under the MIT License, cURL is free software.

Examples of cURL use from command line

Basic use of cURL involves simply typing curl at the command line, followed by the URL of the output to retrieve.

To retrieve the example.com homepage, type:

curl www.example.com

cURL defaults to displaying the output it retrieves to the standard output specified on the system (usually the terminal window). So running the command above would, on most systems, display the www.example.com source-code in the terminal window.

cURL can write the output it retrieves to a file with the -o flag, thus:

curl -o example.html www.example.com

This will store the source code for www.example.com into a file named example.html. While retrieving output, cURL will display a progress-bar showing how much of the output has downloaded. Note however that cURL does not show a progress bar when preparing to display the output in the terminal window, since a progress-bar is likely to interfere with the display of the output.

To download output to a file that has the same name as on the system it originates from, use the -O flag, for example:

curl -O www.example.com/example.html

See also

References

External links



Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР
Synonyms:

Look at other dictionaries:

  • cürləmə — «Cürləmək»dən f. is …   Azərbaycan dilinin izahlı lüğəti

  • CURL — Тип Программа для скачивания файлов Написана на C[1] ОС Кроссплатформенное программное обеспечение Версия 7.20.0 (9 февраля 2010) …   Википедия

  • cURL — Тип Программа для скачивания файлов Написана на C[1] Операционная система Кроссплатформенное программное обеспечение Последняя версия 7.27.0 (27 июля 2012 года) Лицензия …   Википедия

  • Curl — or CURL may refer to: Curl (mathematics), a vector operator that shows a vector field s rate of rotation Biceps curl or wrist curl, weight training exercises In technology Curl (programming language), an object oriented programming language… …   Wikipedia

  • CURL — Saltar a navegación, búsqueda cURL http://curl.haxx.se/ Información general Última versión estable 7.19.3 19 de enero de 2009 …   Wikipedia Español

  • Curl — Saltar a navegación, búsqueda El término Curl puede hacer referencia a: cURL, herramienta para usar en un intérprete de comandos para transferir archivos con sintaxis URL; Curl, un idioma de programación; El curl de bíceps, los ejercicios que… …   Wikipedia Español

  • cURL — Entwickler Daniel Stenberg u.v.a Aktuelle Version 7.22.0 (13. September 2011) Betriebssystem Multiplattform Programmier­sprache C Kategorie …   Deutsch Wikipedia

  • Curl — (k[^u]rl), v. t. [imp. & p. p. {Curled} (k[^u]rld); p. pr. & vb. n. {Curling}.] [Akin to D. krullen, Dan. kr[ o]lle, dial. Sw. krulla to curl, crisp; possibly akin to E. crook. Cf. {Curl}, n., {Cruller}.] 1. To twist or form into ringlets; to… …   The Collaborative International Dictionary of English

  • Curl — bezeichnet: Curl (Programmiersprache), eine Multiparadigmen Programmiersprache cURL (Client for URLs), ein Programm zum browserlosen Transferieren von Internet Dateien Curl, eine Übung mit dem Sportgerät Curlhantel In der englischsprachigen… …   Deutsch Wikipedia

  • cURL — Dernière version 7.23.1 (17 novembre 2011) …   Wikipédia en Français

  • curl — [kʉrl] vt. [ME curlen, by metathesis < crullen, to curl, bend, twist < crul, curly, akin to Du krul < Gmc * kruzla < IE * greu s < base * ger : see CRADLE] 1. to wind or twist (esp. hair) into ringlets or coils 2. to cause to roll… …   English World dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”