2010-02-15 03:40:18 +08:00
|
|
|
_ _ ____ _
|
|
|
|
___| | | | _ \| |
|
|
|
|
/ __| | | | |_) | |
|
|
|
|
| (__| |_| | _ <| |___
|
2000-05-23 01:35:35 +08:00
|
|
|
\___|\___/|_| \_\_____|
|
|
|
|
|
|
|
|
FEATURES
|
|
|
|
|
2004-08-12 22:08:46 +08:00
|
|
|
curl tool
|
|
|
|
- config file support
|
|
|
|
- multiple URLs in a single command line
|
|
|
|
- range "globbing" support: [0-13], {one,two,three}
|
|
|
|
- multiple file upload on a single command line
|
|
|
|
- custom maximum transfer rate
|
|
|
|
- redirectable stderr
|
|
|
|
|
|
|
|
libcurl supports
|
|
|
|
- full URL syntax with no length limit
|
2000-05-23 01:35:35 +08:00
|
|
|
- custom maximum download time
|
|
|
|
- custom least download speed acceptable
|
|
|
|
- custom output result after completion
|
|
|
|
- guesses protocol from host name unless specified
|
|
|
|
- uses .netrc
|
|
|
|
- progress bar/time specs while downloading
|
2000-12-11 23:35:57 +08:00
|
|
|
- "standard" proxy environment variables support
|
2003-06-26 19:36:32 +08:00
|
|
|
- compiles on win32 (reported builds on 40+ operating systems)
|
|
|
|
- selectable network interface for outgoing traffic
|
2004-08-12 22:08:46 +08:00
|
|
|
- IPv6 support on unix and Windows
|
2001-03-12 17:44:08 +08:00
|
|
|
- persistant connections
|
2003-05-28 18:24:20 +08:00
|
|
|
- socks5 support
|
2003-06-26 19:36:32 +08:00
|
|
|
- supports user name + password in proxy environment variables
|
|
|
|
- operations through proxy "tunnel" (using CONNECT)
|
2004-08-12 22:08:46 +08:00
|
|
|
- supports large files (>2GB and >4GB) both upload/download
|
|
|
|
- replacable memory functions (malloc, free, realloc, etc)
|
|
|
|
- asynchronous name resolving (*6)
|
2007-05-26 05:20:39 +08:00
|
|
|
- both a push and a pull style interface
|
2000-05-23 01:35:35 +08:00
|
|
|
|
|
|
|
HTTP
|
2003-06-26 19:36:32 +08:00
|
|
|
- HTTP/1.1 compliant (optionally uses 1.0)
|
2000-05-23 01:35:35 +08:00
|
|
|
- GET
|
|
|
|
- PUT
|
|
|
|
- HEAD
|
|
|
|
- POST
|
2007-05-26 05:20:39 +08:00
|
|
|
- Pipelining
|
2003-06-26 19:36:32 +08:00
|
|
|
- multipart formpost (RFC1867-style)
|
2010-07-27 07:38:29 +08:00
|
|
|
- authentication: Basic, Digest, NTLM(*9), GSS-Negotiate/Negotiate(*3) and
|
2004-08-12 22:08:46 +08:00
|
|
|
SPNEGO (*4) to server and proxy
|
2001-02-21 01:35:51 +08:00
|
|
|
- resume (both GET and PUT)
|
2000-05-23 01:35:35 +08:00
|
|
|
- follow redirects
|
2000-12-11 23:35:57 +08:00
|
|
|
- maximum amount of redirects to follow
|
2000-05-23 01:35:35 +08:00
|
|
|
- custom HTTP request
|
2000-12-11 23:35:57 +08:00
|
|
|
- cookie get/send fully parsed
|
2003-05-28 18:24:20 +08:00
|
|
|
- reads/writes the netscape cookie file format
|
2003-06-26 19:36:32 +08:00
|
|
|
- custom headers (replace/remove internally generated headers)
|
2000-05-23 01:35:35 +08:00
|
|
|
- custom user-agent string
|
|
|
|
- custom referer string
|
|
|
|
- range
|
|
|
|
- proxy authentication
|
|
|
|
- time conditions
|
|
|
|
- via http-proxy
|
2000-12-11 23:35:57 +08:00
|
|
|
- retrieve file modification date
|
2003-05-28 18:24:20 +08:00
|
|
|
- Content-Encoding support for deflate and gzip
|
2003-06-26 19:36:32 +08:00
|
|
|
- "Transfer-Encoding: chunked" support for "uploads"
|
2000-05-23 01:35:35 +08:00
|
|
|
|
|
|
|
HTTPS (*1)
|
|
|
|
- (all the HTTP features)
|
2005-05-18 18:14:25 +08:00
|
|
|
- using client certificates
|
2000-12-11 23:35:57 +08:00
|
|
|
- verify server certificate
|
2000-05-23 01:35:35 +08:00
|
|
|
- via http-proxy
|
2003-05-28 18:24:20 +08:00
|
|
|
- select desired encryption
|
2005-05-18 18:14:25 +08:00
|
|
|
- force usage of a specific SSL version (SSLv2(*7), SSLv3 or TLSv1)
|
2000-05-23 01:35:35 +08:00
|
|
|
|
|
|
|
FTP
|
|
|
|
- download
|
|
|
|
- authentication
|
2007-07-02 06:01:18 +08:00
|
|
|
- kerberos4 (*5), kerberos5 (*3)
|
2001-12-03 18:07:49 +08:00
|
|
|
- active/passive using PORT, EPRT, PASV or EPSV
|
2000-05-23 01:35:35 +08:00
|
|
|
- single file size information (compare to HTTP HEAD)
|
|
|
|
- 'type=' URL support
|
|
|
|
- dir listing
|
|
|
|
- dir listing names-only
|
|
|
|
- upload
|
|
|
|
- upload append
|
|
|
|
- upload via http-proxy as HTTP PUT
|
|
|
|
- download resume
|
|
|
|
- upload resume
|
2000-08-01 06:42:34 +08:00
|
|
|
- custom ftp commands (before and/or after the transfer)
|
2000-05-23 01:35:35 +08:00
|
|
|
- simple "range" support
|
|
|
|
- via http-proxy
|
2000-09-15 21:20:34 +08:00
|
|
|
- all operations can be tunneled through a http-proxy
|
2000-12-11 23:35:57 +08:00
|
|
|
- customizable to retrieve file modification date
|
2004-08-12 22:08:46 +08:00
|
|
|
- no dir depth limit
|
2000-05-23 01:35:35 +08:00
|
|
|
|
2004-01-07 22:50:11 +08:00
|
|
|
FTPS (*1)
|
2006-05-28 19:28:40 +08:00
|
|
|
- implicit ftps:// support that use SSL on both connections
|
|
|
|
- explicit "AUTH TSL" and "AUTH SSL" usage to "upgrade" plain ftp://
|
2004-01-07 22:50:11 +08:00
|
|
|
connection to use SSL for both or one of the connections
|
|
|
|
|
2007-05-26 05:20:39 +08:00
|
|
|
SCP (*8)
|
|
|
|
- both password and public key auth
|
|
|
|
|
|
|
|
SFTP (*8)
|
|
|
|
- both password and public key auth
|
|
|
|
- with custom commands sent before/after the transfer
|
|
|
|
|
2005-11-17 22:28:58 +08:00
|
|
|
TFTP
|
|
|
|
- download / upload
|
|
|
|
|
2000-05-23 01:35:35 +08:00
|
|
|
TELNET
|
|
|
|
- connection negotiation
|
2001-03-12 17:44:08 +08:00
|
|
|
- custom telnet options
|
2000-05-23 01:35:35 +08:00
|
|
|
- stdin/stdout I/O
|
|
|
|
|
|
|
|
LDAP (*2)
|
|
|
|
- full LDAP URL support
|
|
|
|
|
|
|
|
DICT
|
|
|
|
- extended DICT URL support
|
|
|
|
|
|
|
|
FILE
|
|
|
|
- URL support
|
2004-08-12 22:08:46 +08:00
|
|
|
- "uploads"
|
|
|
|
- resume
|
2000-05-23 01:35:35 +08:00
|
|
|
|
2003-09-19 20:55:35 +08:00
|
|
|
FOOTNOTES
|
|
|
|
=========
|
|
|
|
|
2011-01-22 06:27:10 +08:00
|
|
|
*1 = requires OpenSSL, GnuTLS, NSS, yassl, axTLS or PolarSSL
|
2003-06-26 19:36:32 +08:00
|
|
|
*2 = requires OpenLDAP
|
|
|
|
*3 = requires a GSSAPI-compliant library, such as Heimdal or similar.
|
2003-09-19 20:55:35 +08:00
|
|
|
*4 = requires FBopenssl
|
|
|
|
*5 = requires a krb4 library, such as the MIT one or similar.
|
2004-08-12 22:08:46 +08:00
|
|
|
*6 = requires c-ares
|
2007-02-13 06:32:37 +08:00
|
|
|
*7 = requires OpenSSL or NSS, as GnuTLS only supports SSLv3 and TLSv1
|
2007-05-26 05:20:39 +08:00
|
|
|
*8 = requires libssh2
|
2010-07-27 07:38:29 +08:00
|
|
|
*9 = requires OpenSSL, GnuTLS, NSS or yassl
|