博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
curl继续下载_继续使用cURL下载
阅读量:2515 次
发布时间:2019-05-11

本文共 1159 字,大约阅读时间需要 3 分钟。

curl继续下载

One of the most useful but least talked about utilities a developer has at their disposal is cURL.  The cURL command line utility has been so amazing that Chrome lets you copy requests as cURL from the developer tools Requests panel.  cURL lets you , , , , , and much more.

cURL是开发人员可以使用的最有用但最鲜为人知的实用工具之一。 cURL命令行实用程序非常出色,Chrome浏览器可让您从开发者工具“请求”面板中将请求复制为cURL。 通过cURL,您可以 , , , , 等等。

One more awesome feature that cURL has baked in is allowing the developer to continue interrupted downloads.  You can use cURL to download via the -O option:

cURL引入的另一个很棒的功能是允许开发人员继续中断的下载。 您可以使用cURL通过-O选项进行下载:

curl -O https://davidwalsh.name

If that download gets interrupted, you can use the -C - addition to continue the download:

如果该下载被中断,则可以使用-C -添加继续下载:

curl -C - -O https://davidwalsh.name

If you remember the 14k modem days, there was nothing worse than starting a download from scratch.  The internet speed is much faster these days but the average download has increased as well, so if you're using cURL, be sure to use this option to avoid fresh downloads!

如果您还记得14k的调制解调器时代,那没有比从头开始下载更糟糕的了。 如今,互联网速度要快得多,但平均下载量也有所增加,因此,如果您使用的是cURL,请务必使用此选项来避免重新下载!

翻译自:

curl继续下载

转载地址:http://pyvwd.baihongyu.com/

你可能感兴趣的文章
【loj6038】「雅礼集训 2017 Day5」远行 树的直径+并查集+LCT
查看>>
十二种获取Spring的上下文环境ApplicationContext的方法
查看>>
UVA 11346 Probability 概率 (连续概率)
查看>>
linux uniq 命令
查看>>
Openssl rand命令
查看>>
HDU2825 Wireless Password 【AC自动机】【状压DP】
查看>>
BZOJ1015: [JSOI2008]星球大战starwar【并查集】【傻逼题】
查看>>
HUT-XXXX Strange display 容斥定理,线性规划
查看>>
mac修改用户名
查看>>
一道关于员工与部门查询的SQL笔试题
查看>>
Canvas基础
查看>>
[Hive - LanguageManual] Alter Table/Partition/Column
查看>>
可持久化数组
查看>>
去除IDEA报黄色/灰色的重复代码的下划波浪线
查看>>
Linux发送qq、网易邮件服务配置
查看>>
几道面试题
查看>>
【转】使用 WebGL 进行 3D 开发,第 1 部分: WebGL 简介
查看>>
js用正则表达式控制价格输入
查看>>
chromium浏览器开发系列第三篇:chromium源码目录结构
查看>>
java开发操作系统内核:由实模式进入保护模式之32位寻址
查看>>