#21246 [Fbk->]: Download via wget or other command line utils not possible
| From: | iliaa@php.net | Date: | Sat, 28 Dec 2002 17:20:07 +0000 |
| Subject: | #21246 [Fbk->]: Download via wget or other command line utils not possible | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-14546@lists.php.net to get a copy of this message | ||
ID: 21246
Updated by: iliaa@php.net
Reported By: bauchi@bauchi.de
-Status: Feedback
+Status: Won\'t fix
Bug Type: Website problem
Operating System: Linux
PHP Version: 4.3.0
Assigned To: goba
New Comment:
The download link takes you to a list of mirrors from which you can
download PHP source or Win32 binaries. From the mirrors you can already
use wget.
Previous Comments:
------------------------------------------------------------------------
[2002-12-28 11:18:13] goba@php.net
Or provide the parameter for wget in quotes.
------------------------------------------------------------------------
[2002-12-28 11:16:14] goba@php.net
Please escape any shell special chars in the download URL, like ? and
&, which may be interpreted specially by your shell.
Note: maybe reconsider the download URLs, or document the escape
requirement for shell programs in the FAQ.
------------------------------------------------------------------------
[2002-12-28 09:29:29] bauchi@bauchi.de
hi there,
due to your new mirror system anyone trying to download php via wget or
other command line utils will fail ...
i tried it several times today, but i had to use lynx and climb my way
through the pages to get the actual release..
you should consider to give people a chance to get the releases through
command line utils as well.
as you know, many webservers run without a graphical interface such as
X ... wget is one of the usual ways in linux to grab files from
webservers :-)
wget output:
yummy:/tmp # wget -s -d -v
http://www.php.net/do_download.php?mr=http%3A%2F%2Fde3.php.net%2F&df=php-4.3.0.tar.bz2
[1] 28248
yummy:/tmp # DEBUG output created by Wget 1.6 on linux.
parseurl
("http://www.php.net/do_download.php?mr=http%3A%2F%2Fde3.php.net%2F")
-> host www.php.net -> opath
do_download.php?mr=http%3A%2F%2Fde3.php.net%2F -> dir -> file
do_download.php?mr=http://de3.php.net/ -> ndir
newpath: /do_download.php?mr=http%3A//de3.php.net/
--16:28:32--
http://www.php.net/do_download.php?mr=http%3A//de3.php.net/
=> `do_download.php?mr=http://de3.php.net/.1'
Connecting to www.php.net:80... Created fd 3.
connected!
---request begin---
GET /do_download.php?mr=http%3A//de3.php.net/ HTTP/1.0
User-Agent: Wget/1.6
Host: www.php.net
Accept: */*
---request end---
HTTP request sent, awaiting response... HTTP/1.0 200 OK
Date: Sat, 28 Dec 2002 15:23:04 GMT
Server: Apache/1.3.26 (Unix) PHP/4.3.0-dev
X-Powered-By: PHP/4.3.0-dev
Content-Type: text/html
X-Cache: MISS from rs1.php.net
Connection: close
Length: unspecified [text/html]
0K ->
Closing fd 3
16:28:32 (35.16 KB/s) - `do_download.php?mr=http://de3.php.net/.1'
saved [36]
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21246&edit=1