CURL是什么?

来源:互联网 发布:怎么查看端口是否开放 编辑:程序博客网 时间:2024/06/07 03:25

CURL是什么?

cURL (/kɝl/ or /kə:l/[4]) 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. The name originally stood for “see URL”.

cURL是一个计算机软件工程,提供给一个库和命令行工具用来传输基于多种协议的数据。cURL工程有两个部分, libcurl和cURL.最初在1997年发布,名字最初用来指”see URL”.

cURL是基于libcurl的,所以两个都支持很多协议,包括: FTP, FTPS, Gopher, HTTP, HTTPS, SCP, SFTP, TFTP, Telnet, DICT, the file URI scheme, LDAP, LDAPS, IMAP, POP3, SMTP and RTSP.

cURL命令行的简单用法:

  1. retrieve page
    curl www.example.com
  2. retrieve page and redirect output
    curl -o www.example.com
  3. 类似linux的tee
    curl -O www.example.com
0 0
原创粉丝点击