I'm on macOS.
curl -O http://fabiensanglard.net/Compile_Like_Its_1992/tools/wolfsr... gave a HTML file.
$ file wolfsrc.zip
wolfsrc.zip: HTML document text, ASCII text
wget downloaded the file correctly, though. can be unzipped without problem.
Re:Let's compile like it's 1992 (2014)
by giantrobot on Monday February 26, 2024 @08:44AM
(#39511153)
With curl you'll likely need to give the '-L' flag to follow a redirect automatically.
Yup. The link gives a 301 redirect to the HTTPS site. With wget it follows redirects automatically.
Re:Let's compile like it's 1992 (2014)
by ozymandias1337 on Monday February 26, 2024 @09:01AM
(#39511314)
wget FTW.
Re:Let's compile like it's 1992 (2014)
by giantrobot on Monday February 26, 2024 @09:59AM
(#39511970)
I don't dislike wget at all but I appreciate the explicit behavior of curl.
Re:Let's compile like it's 1992 (2014)
by ozymandias1337 on Monday February 26, 2024 @05:24PM
(#39517467)
Fair 'nuff.
Archive: wolfsrc.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of wolfsrc.zip or wolfsrc.zip.zip, and cannot find wolfsrc.zip.ZIP, period.