Path: ...!feeds.phibee-telecom.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: candycanearter07 Newsgroups: comp.os.linux.advocacy Subject: Re: Need Assistance -- Network Programming Date: Wed, 26 Jun 2024 06:40:02 -0000 (UTC) Organization: the-candyden-of-code Lines: 23 Message-ID: References: <17da6bead1f52684$159717$3694546$802601b3@news.usenetexpress.com> <17dab0490c7f3ec8$3550$35484$802601b3@news.usenetexpress.com> <66769b61$0$3272$426a74cc@news.free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 26 Jun 2024 08:40:03 +0200 (CEST) Injection-Info: dont-email.me; posting-host="324a29690225d773b8110ef04bb5467d"; logging-data="2132661"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184GD+3ctCJZH9GlvHF5gIcDOcLC3OwILcdtIsjf2b8pQ==" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:+b/CRUBYVPbZr4IJ+ZgTXdb8Bwo= X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]% b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx `~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e ZrQsWJ >|l^I_[pbsIqwoz.WGA] wrote at 02:54 this Wednesday (GMT): > On 22 Jun 2024 09:37:37 GMT, Stéphane CARPENTIER wrote: > >> Yes, it's impressive to discover he never heard about wget or curl. > > I prefer wget to curl. curl includes client code for something like two > dozen different protocols, and that just adds to the potential for > security vulnerabilities, particularly when all those extra protocols > already have perfectly good clients of their own. > > wget, by contrast, concentrates on the basics: HTTP/HTTPS/FTP/FTPS. And > that’s it. I'll be honest, I use both somewhat interchangeably. I know that you can set the output file with -o in wget, but I still kinda prefer doing curl url > file when I want it to be named something. Also, hot tip: --content-disposition is great on some websites when using wget, since otherwise it just saves it as the url basepath. Really useful sometimes. -- user is generated from /dev/urandom