Bug #13721 Updated: ftp_nlist and ftp_rawlist always return false
| From: | jpm@php.net | Date: | Thu, 18 Oct 2001 01:52:28 +0000 |
| Subject: | Bug #13721 Updated: ftp_nlist and ftp_rawlist always return false | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68180@lists.php.net to get a copy of this message | ||
ID: 13721
Updated by: jpm
Reported By: manu@chasqui.uclv.edu.cu
Old Status: Open
Status: Bogus
Bug Type: FTP related
Operating System: Windows 2000 Advance Server
PHP Version: 4.0.6
New Comment:
Bug submitted twice by accident. Bogusifying.
Previous Comments:
------------------------------------------------------------------------
[2001-10-17 21:50:41] manu@chasqui.uclv.edu.cu
I have code like this:
$conn = ftp_connect($ftp_server);
if (!conn) exit();
if (!ftp_login($conn, 'anonymous', '')) exit();
$ls = ftp_nlist($conn, '/');
$rls = ftp_rawlist($conn, '/');
var_dump($ls);
var_dump($rls);
I have tested this trying to connect to two different IIS 5.0 FTP servers, and I always get
"bool(false)bool(false)" as output.
Into my php.ini there's nothing rare about ftp; just allow_url_fopen = On.
Before I upgrade PHP to PHP 4.0.6, I was doing some tests with FTP functions and ftp_nlist as well
as ftp_rawlist was working fine.
Manu.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13721&edit=1