Code Comments
Programming Forum and web based access to our favorite programming groups.ID: 32884 Updated by: derick@php.net Reported By: trobinson at kgsystems dot swap-the-k-and-g dot com -Status: Open +Status: Wont fix Bug Type: Website problem Operating System: any PHP Version: Irrelevant New Comment: We will not change this - use wget as you mention, which is more clever with this and works just fine. We won't go to SourceForge way because I think that's so damned annoying (as you can't use wget there at all). Previous Comments: ------------------------------------------------------------------------ [2005-04-29 07:59:01] trobinson at kgsystems dot swap-the-k-and-g dot com Description: ------------ Suggestion: On download pages, add an alternate link if the download does not start automatically. When downloading anything, I often use a Windows browser to reach the download page, then copy the download link and paste it into a Linux terminal window like this: curl -O http://ca3.php.net/distributions/php-5.0.4.tar.bz2 However, php.net downloads reveal the true path only through an HTTP Location: redirect. If I try to curl the download link I get this: curl -O http://ca3.php.net/get/php-5.0.4.ta...rom/this/mirror This doesn't work, since curl doesn't follow the redirect. Sourceforge has lots of mirrors too, but solves my problem in a simple way. After choosing a download mirror, the download page shows something linke this: Your download should begin shortly. If it does not, try: http:// (link to actual download file) The download then starts, but I cancel it. Then I copy the above link, and paste it into my curl command. I realize that wget would work, but curl is more basic. I currently grab the true download path from the HTTP header, using Firefox "Live HTTP Headers". ...Tom Robinson ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32884&edit=1
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.