Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Had some problems opening the archive

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.



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.


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.


wget FTW.


I don't dislike wget at all but I appreciate the explicit behavior of curl.


Fair 'nuff.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: