Curl is a general purpose request library with a cli frontend (also used embedded from other programs, or as a standard library API in PHP etc).
The curl-wget Venn diagram
51–60 of 159 posts
Re: The curl-wget Venn diagram
#52I would also add at least "sane default options", "continues downloads" and "retries on error" to the Wget column. I recently had to write a script that downloads a very large file over a somewhat unreliable connection. The common wisdom among the engineers is that you need to use Wget for this job. I tried using curl but out of the box it could not resume or retry the download. I would have to study the manual and s…
Both tools have their use-cases. I think with the advent of LLMs like ChatGPT it has also become a lot easier to get the proper command line incantation for whatever tool you're using. Even if you've read the manual previously, it's easy to forget the exact flags you want to use, and validating the generated command line is usually less effort than having to build it up yourself from scratch by reading the manual. Wi…
Re: The curl-wget Venn diagram
#53Earlier quoted context omitted.
For downloading large files I would rather just use aria2c TBH.
Aria2c currently looks unmaintained https://github.com/aria2/aria2/pulse
Re: The curl-wget Venn diagram
#54Re: The curl-wget Venn diagram
#55Seems maybe dated. For example, it excludes both of these from wget in the diagram > HTTP PUT wget --method=PUT --body-data= > proxies ... HTTPS wget --use-proxy=on --https_proxy= https://example.com Curl consistently has more options and flexibility, but there's several things on the right side of the venn diagram where wget does have some capability.
Re: The curl-wget Venn diagram
#56Earlier quoted context omitted.
I just look at my curl / wget note for some sane examples. i cant believe one needed chatgpt to be productive
You don't need much of anything, it's just another tool to help people figure stuff out. If you've already invested the time in reading through the manuals for these tools then maybe you don't get much out of something like ChatGPT, but consider that there's thousands of new people entering the industry every year and the number of tools which they're expected to learn to use has increased over time.
Re: The curl-wget Venn diagram
#57don't forget the weekly security fix on the right side ;)
Re: The curl-wget Venn diagram
#58I would also add at least "sane default options", "continues downloads" and "retries on error" to the Wget column. I recently had to write a script that downloads a very large file over a somewhat unreliable connection. The common wisdom among the engineers is that you need to use Wget for this job. I tried using curl but out of the box it could not resume or retry the download. I would have to study the manual and s…
Re: The curl-wget Venn diagram
#59I recently found [axel], which is very impressive wget-like tool for larger files. [axel]: https://github.com/axel-download-accelerator/axel
Re: The curl-wget Venn diagram
#60"""I have contributed code to wget. Several wget maintainers have contributed to curl. We are all friends."""