3 ms·
The readme at https://github.com/curl/wcurl https://github.com/curl/wcurl explains some other stuff it does by default which makes sense if the goal is to downl
by resoluteteeth 2y ago
The readme at https://github.com/curl/wcurl https://github.com/curl/wcurl explains some other stuff it does by default which makes sense if the goal is to download files:
> By default, wcurl will:
> Encode whitespaces in URLs;
> Download multiple URLs in parallel if the installed curl's version is >= 7.66.0;
> Follow redirects;
> Automatically choose a filename as output;
> Avoid overwriting files if the installed curl's version is >= 7.83.0 (--no-clobber);
> Perform retries;
> Set the downloaded file timestamp to the value provided by the server, if available;
> Disable curl's URL globbing parser so {} and [] characters in URLs are not treated specially.
- ziml77 2y agoIs curl able to retry from the middle of a file? Beyond the sane defaults that's where wget has been nice for me; if the connection drops it can pick right back up where it left off.
- mcpherrinm 2y agoYes, curl can resume partial downloads. You need to pass `-C -` to do so, which is a pretty good example of "the command line flags aren't easy to remember"
- groby_b 2y agoIt's also yet another example of "could you please just do the right thing by default". curl wants to be a swiss army knife, and so you'll need to configure everything just right so you don't accidentally get the bottle opener instead of the downloader. wget just downloads, and does it well.
- Alifatisk 2y agoSo far, I’ve gathered the default command to be curl -LOCf URL