Bug #13720 Updated: ftp_nlist and ftp_rawlist always return false
| From: | sniper@php.net | Date: | Thu, 18 Oct 2001 04:37:29 +0000 |
| Subject: | Bug #13720 Updated: ftp_nlist and ftp_rawlist always return false | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68188@lists.php.net to get a copy of this message | ||
ID: 13720
Updated by: sniper
Reported By: manu@chasqui.uclv.edu.cu
Old Status: Open
Status: Feedback
Bug Type: FTP related
Operating System: Windows 2000 Advance Server
PHP Version: 4.0.6
New Comment:
In which version of PHP did this work?
Is PHP the only part that was updated?
Is the FTP server same with which this worked?
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-10-17 21:48:00] 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 trying to connect to two different IIS 5.0 FTP servers, and always I 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 worked fine.
Manu.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13720&edit=1