Bug #13720 Updated: ftp_nlist and ftp_rawlist always return false

From: Date: Tue, 23 Oct 2001 06:01:18 +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-68755@lists.php.net to get a copy of this message
ID: 13720
User updated by: manu@chasqui.uclv.edu.cu
Reported By: manu@chasqui.uclv.edu.cu
Status: Open
Bug Type: FTP related
Operating System: Windows 2000 Advance Server
PHP Version: 4.0.6
New Comment:

I thinks is something weird: I go back to php4.0.5 and those ftp functions still working wrong.
Moreover, I install php4.0.4pl1 and doesn't work either.
I'm sure that I once run that code and it did work.
I haven't modified my FTP server also.

Manu.

Previous Comments:
------------------------------------------------------------------------

[2001-10-18 11:15:39] manu@chasqui.uclv.edu.cu

The version in which I tested it before was PHP 4.0.5
PHP was the only changed part.
Yes, I tested it with the same FTP servers.

Manu.

------------------------------------------------------------------------

[2001-10-18 00:37:29] sniper@php.net

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


------------------------------------------------------------------------

[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



Thread (6 messages)

« previous php.dev (#68755) next »