当前位置:网站首页>Curl command – file transfer tool
Curl command – file transfer tool
2022-06-25 05:59:00 【ProYuan28】
curl Command is a use of URL The rules in shell Terminal command line working under the file transfer tool ; It supports file upload and download , So it's the integrated transport tool , But by tradition , Customary term curl For download tools .
As a powerful tool ,curl Support includes HTTP、HTTPS、ftp And so many agreements , And support POST、cookies、 authentication 、 Download some files from the specified offset 、 User agent string 、 The speed limit 、 file size 、 Progress bar and so on ; Do web page processing and data retrieval Automation .
Grammar format :curl [ Parameters ] [ website ]
Common parameters :
| -O | Write the output to this file , Keep the filename of the remote file |
| -u | Access is authorized through the user name and password configured on the server |
Reference examples
Write the downloaded data to a file , The absolute address of the file must be used :
[[email protected] ~]# curl https://www.linuxcool.com/abc.txt --silent -O
When accessing a page that requires authorization , It can be done by -u Options provide user name and password for authorization :
[[email protected] ~]# curl -u root https://www.linuxprobe.com/ Enter host password for user 'root':
边栏推荐
- [day40 literature extensive reading] space and time in the child's mind: metallic or atomic
- Go language map sorting (key/value sorting)
- SAP ui5 Application Development Tutorial Part 30 - parameter transfer in the routing process of SAP ui5
- SAP ui5 beginner tutorial No. 28 - Introduction to the integration test tool OPA for SAP ui5 applications
- Aiot project that is an introduction to the basics of the Internet of things and can be implemented in practice
- ArcGIS Engine + Visual Studio installation tutorial
- You can't specify target table for update in from clause error in MySQL
- Incorrect dependency of POM file
- Use generator-easy-ui5 to quickly create the engineering structure of SAP ui5 applications
- How SAP ui5 device type detection device API works
猜你喜欢

Semantic segmentation cvpr2019-advance: advantageous enterprise minimization for domain adaptation in semantic segmentation

Mongodb delete data
![[open source sharing] deeply study KVM, CEPH, fuse features, including open source projects, code cases, articles, videos, architecture brain maps, etc](/img/9d/9bcf52f521e92cf97eb1d545931c68.jpg)
[open source sharing] deeply study KVM, CEPH, fuse features, including open source projects, code cases, articles, videos, architecture brain maps, etc

Volatile and JMM memory models

Processes and threads - concepts and process scheduling

MySQL tuning -- 02 -- slow query log

Create a complete binary tree in array order

Three tier architecture experiment
SAP ui5 beginner tutorial 25 - using proxy server to solve the cross domain problem of SAP ui5 application accessing remote OData service trial version

ERDAS 9.2 installation tutorial
随机推荐
Getting started with Silverlight development 1
What are the reasons why most webmasters choose Hong Kong site group servers?
D compile time reflection
Various errors and solutions encountered when deploying SAP ui5 application to ABAP server with SAP Fiori tools
Interview experience - list of questions
Guava-IO
Learn the interface test, see it is very good, and make a note
Simple student management system
Gavin's insight on transformer live class - line by line analysis and field experiment analysis of insurance BOT microservice code of insurance industry in the actual combat of Rasa dialogue robot pro
Jenkins installation and configuration
cacacahe
Day18 (set, generic, hash table, tree, stack and queue, graph, array and linked list)
Leetcode topic [array] -36- effective Sudoku
Incorrect dependency of POM file
HashSet implementation class
Day21 JMeter usage basis
JS implementation mouse can achieve the effect of left and right scrolling
Semantic segmentation fcns in the wild: pixel level adaptive and constraint based adaptation
The locally developed SAP ui5 application is deployed to the ABAP server to perform error analysis
Use generator-easy-ui5 to quickly create the engineering structure of SAP ui5 applications