Bug #15831 Updated: function ftp_nlist() returns anything
| From: | ryan at wonko dot com | Date: | Thu, 21 Mar 2002 00:39:59 +0000 |
| Subject: | Bug #15831 Updated: function ftp_nlist() returns anything | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-3011@lists.php.net to get a copy of this message | ||
ID: 15831
Updated by: ryan@wonko.com
Reported By: joursain@navegalia.com
Status: Bogus
Bug Type: IIS related
Operating System: Windows 2000 Server
PHP Version: 4.1.1
New Comment:
This *is* a valid bug that I have reproduced myself in the Windows
builds of 4.1.1 and 4.1.2. For more info, see the following bug
entries:
http://bugs.php.net/bug.php?id=16057
http://bugs.php.net/bug.php?id=8874
Previous Comments:
------------------------------------------------------------------------
[2002-03-05 05:25:50] joursain@navegalia.com
Well, the problem i explain is a bug not a teorical problem, the
function ftp_nlist() and ftp_rawlist() do not work in a simple script
like this.
$ftp=ftp_connect("127.0.0.1");
ftp_login($ftp,"user","pass");
$matrix=array();
$matrix=ftp_nlist($ftp,"downloads");
for($i=0;$i<count($matrix);$i++)
{
echo"{$array[$i]}";
}
This occurs in Windows 2000 Server (IIS 5.0) with PHP 4.1.1 and else
with the ftp_rawlist() function.
The function does not return anything.
You could try it, and see that is true.
Thx.
------------------------------------------------------------------------
[2002-03-02 14:00:22] sander@php.net
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php
------------------------------------------------------------------------
[2002-03-02 10:38:30] joursain@navegalia.com
When i am using the ftp_nlist() or ftp_rawlist() functions returns
anything i can already tryed with pasv mode and the result is the same,
i have tryed with a lot of examples sources and nothing, so i can not
do my project in PHP.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15831&edit=1