Continue Download with 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 post form data, follow redirects, get response headers, determine redirect URL, check gzip encoding, and much more.
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 -O https://davidwalsh.name
If that download gets interrupted, you can use the -C -
addition to continue the download:
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!
![CSS Gradients]()
With CSS border-radius, I showed you how CSS can bridge the gap between design and development by adding rounded corners to elements. CSS gradients are another step in that direction. Now that CSS gradients are supported in Internet Explorer 8+, Firefox, Safari, and Chrome...
![6 Things You Didn’t Know About Firefox OS]()
Firefox OS is all over the tech news and for good reason: Mozilla's finally given web developers the platform that they need to create apps the way they've been creating them for years -- with CSS, HTML, and JavaScript. Firefox OS has been rapidly improving...
![Create a Brilliant Sprited, CSS-Powered Firefox Animation]()
Mozilla recently formally announced Firefox OS and its partners at Mobile World Congress and I couldn't be more excited. Firefox OS is going to change the lives of people in developing countries, hopefully making a name for itself in the US as well. The...
![LightFace: Facebook Lightbox for MooTools]()
One of the web components I've always loved has been Facebook's modal dialog. This "lightbox" isn't like others: no dark overlay, no obnoxious animating to size, and it doesn't try to do "too much." With Facebook's dialog in mind, I've created LightFace: a Facebook lightbox...
If you are using wget you can resume a broken download with
-c
or--continue
option.