Common Linux CURL functions

Source: Internet
Author: User

Common functions of Linux CURL 1. download the file www.2cto.com # curl-u username: password-o ftp from ftp: // ip/file % Total % Received % Xferd Average Speed Time Current Dload Upload Total Spent Left Speed100 37986 100 37986 0 0 27854 0 0:00:01 0:00:01 --:--: -- 29561 2, read access to a URL Header information www.2cto.com # curl-I http://www.jjwxc.netHTTP/1.1 200 OKContent-Type: text/htmlVary: Accept-encodingAccept-Ranges: bytesContent-Encoding: gzipLast-Modified: Tue, 05 Feb 2013 17:19:15 GMTContent-Length: 11495 Date: Wed, 06 Feb 2013 03:46:30 gmt- Cache: HIT from CU-86-SH-JJCDNX-Cache-Lookup: HIT from CU-86-SH-JJCDN: 80Age: 10375 PowerCDN: HIT from tj6.powercdn. comVia: 1.1 tj6.powercdn.com (PowerCDN/2.4) Connection: close 3, counterfeit source address, some sites will judge, request source address # curl-e http://www.baidu.com http://www.jjwxc.net

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.