Re: Issue with downloading from php.net
| From: | Steve Atkins | Date: | Fri, 29 Aug 2003 16:14:00 +0000 |
| Subject: | Re: Issue with downloading from php.net | ||
| References: | 1 2 3 4 5 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-20663@lists.php.net to get a copy of this message | ||
On Fri, Aug 29, 2003 at 05:59:16PM +0200, Derick Rethans wrote:
> On Fri, 29 Aug 2003, Gabor Hojtsy wrote:
>
> > > Yes. After a couple of clicks I end up at, say,
> > >
> > > http://us3.php.net/get/php-4.3.3.tar.bz2/from/a/mirror. It's
> > > from
> > > there that it'd be nice to see direct download URLs (if they're already
> > > there, and I'm missing them, my apologies, but I wasn't able to find
> > > anything).
> >
> > You needed to make a few clicks to get to here, so I don't know what is
> > the problem with this page. One of the first few links on the page
> > points to a place where you can get the file. It is not a direct
> > location to the file, but wget should be able to handle that.
>
> His point is that he wants to "see" the URL, not click on it. I don't
> think it will be much work to do a print on the url, right?
That's not really it - I'm generally going to be right-clicking on the
link, copying the URL to the clipboard then pasting it into a terminal
session on a different system.
The thing is that many commandline http fetch clients do just that,
fetch a file. If that file redirects to a different URL they don't
follow that redirection.
So, for example, if the visible URL is
http://us2.php.net/get/php-4.3.3.tar.bz2/from/this/mirror
and that
redirects to http://us2.php.net/distributions/php-4.3.3.tar.bz2
the URL that it would be useful to be able to copy would be
the latter.
If I try and use, say, curl to fetch the former I'll just get
the redirection page.
It's a nit, but one that I suspect hits quite a lot of your users. I
wouldn't have mentioned it except for the fact that the rest of the
php.net site hangs together so nicely, and it's the only exception.
Cheers,
Steve