Connect and share knowledge within a single location that is structured and easy to search. I'm trying to download a tar. However, I can download this with curl just fine on my mac and it is a proper tar. Added -L to follow redirects and the result was a well-formed, complete. The result was a folder with a few files in it:. But I just now tried it and it works for me. I get the same.
Please cat the contents of the text file that gets downloaded and show at least some of it here. It's probably an error of some sort being sent back as plain text or html. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Curl Downloads tar. Asked 2 years, 11 months ago.
Sign in Sign up. Instantly share code, notes, and snippets. Last active Nov 17, Code Revisions 4 Stars Forks Embed What would you like to do? Embed Embed this gist in your website.
Share Copy sharable link for this gist. Learn more about clone URLs. Download ZIP. Properly download from github using wget and curl.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters.
This comment has been minimized. You can learn more by viewing the manual page for curl by running man curl. Where would you like to share this to? Twitter Reddit Hacker News Facebook. Share link Tutorial share link. Sign Up. DigitalOcean home. Community Control Panel. Hacktoberfest Contribute to Open Source. Launch an Interactive Terminal! About the authors. Brian Hogan.
0コメント