PDA

View Full Version : wget + downloading darwin




wala
Jul 22, 2006, 04:46 PM
To download an ISO image of Darwin I have to log in with my Apple ID on my browser. But I don't like how my browser (Camino) handles Darwin, ungzipping the image(solved with a right-click and "download link target") , not allowing continuing downloads after I have canceled them, etc. What is the procedure (using certificates, I think) to download Darwin directly via wget? Also...

...any alternative non-login non-torrent download mirrors for Darwin (Planet mirror's darwin directory is empty (http://public.planetmirror.com/pub/darwin/):()

...any way to stop my browser from auto ungzipping the file and displaying it in the browser window (anything in about:config?)

EDIT: I meant this thread to be in "Mac OS X Applications", not "Mac OS X"



reh
Jul 22, 2006, 05:21 PM
If it's just a matter of needing a referer, you can use the following flag with wget (wget --help for more).--referer=URL include `Referer: URL' header in HTTP request.

wala
Jul 22, 2006, 05:47 PM
What is the referer URL? Whatever I do, I get

ERROR: Certificate verification error for daw.apple.com: unable to get local issuer certificate
To connect to daw.apple.com insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.
at the very end of the message.

reh
Jul 22, 2006, 06:01 PM
Just try what it tells you. Use "--no-check-certificate".

wala
Jul 22, 2006, 06:07 PM
Tried already, it downloads a copy of the web page which asks me for my password, and not the file.

reh
Jul 22, 2006, 06:55 PM
Hmm, I've hit the end of help here I'm afraid. Perhaps try downloading with a different web browser such as safari (turn off open safe files) or firefox.