Bug #15831 Updated: function ftp_nlist() returns anything
| From: | joursain at navegalia dot com | Date: | Tue, 05 Mar 2002 10:25:51 +0000 |
| Subject: | Bug #15831 Updated: function ftp_nlist() returns anything | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-1667@lists.php.net to get a copy of this message | ||
ID: 15831
Updated by: joursain@navegalia.com
Reported By: joursain@navegalia.com
Status: Bogus
Bug Type: IIS related
Operating System: Windows 2000 Server
PHP Version: 4.1.1
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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