| Unable to download Mac OS X v10.10.5's combo updater file with Terminal's curl command? | Ant | 22/07/16 14:46 | Hello.
Is it me or is Apple blocking Terminal's curl command? I am trying to download http://support.apple.com/downloads/DL1832/en_US/osxupdcombo10.10.5.dmg, but I get 0 byte file right away as shown below: $ curl -O http://support.apple.com/downloads/DL1832/en_US/osxupdcombo10.10.5.dmg % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 I had no problems downloading other random files from other servers though. Thank you in advance. :) -- Quote of the Week: "I don't believe in evil, I believe only in horror. In nature there is no evil, only an abundance of horror: the plagues and the blights and the ants and the maggots." --Isak Dinesen Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly. /\___/\ Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site) / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net | |o o| | \ _ / Please nuke ANT if replying by e-mail privately. If credit- ( ) ing, then please kindly use Ant nickname and AQFL URL/link. |
| Re: Unable to download Mac OS X v10.10.5's combo updater file with Terminal's curl command? | Jolly Roger | 22/07/16 14:57 | On 2016-07-22, Ant <ANT...@zimage.com> wrote:That's not the actual download URL. If you put that URL in Safari, and allow the download to start, then click the Safari downloads widget, and right click the download and choose Copy Address, you will see a URL similar to this one: <http://supportdownload.apple.com/download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/Mac_OS_X/downloads/031-30887-20150813-dd50b6d0-41d6-11e5-a5eb-050f11ba098f/osxupdcombo10.10.5.dmg> -- E-mail sent to this address may be devoured by my ravenous SPAM filter. I often ignore posts from Google. Use a real news client instead. JR |
| Re: Unable to download Mac OS X v10.10.5's combo updater file with Terminal's curl command? | David Empson | 22/07/16 15:49 | Ant <ANT...@zimage.com> wrote:As JR said, that isn't the actual download URL. It does a series of HTTP redirects to the actual download. That means you need to tell curl to follow redirects, by adding the -L (or --location) option, e.g. (all on one line): curl -OL http://support.apple.com/downloads/DL1832/en_US/osxupdcombo10.10.5.dmg This worked for me (at least for starting to download the actual dmg - I aborted it as I don't need another copy). -- David Empson dem...@actrix.gen.nz |
| Re: Unable to download Mac OS X v10.10.5's combo updater file with Terminal's curl command? | Ant | 22/07/16 18:32 | Thanks guys! I didn't know it was redirecting. :) I also added "-C -"
parameters to be able to resume since my Internet connection was unstable (related to the crazy 100F degrees heat wave?). :( I am used to old wget, but I couldn't get it compiled so I decided to try curl command. :) |