For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > April 2005 > #32884 [Opn->WFx]: Please add an alternate download link, like Sourceforge









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #32884 [Opn->WFx]: Please add an alternate download link, like Sourceforge
derick@php.net

2005-04-29, 8:57 am

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com