Bug #13720: ftp_nlist and ftp_rawlist always return false
| From: | manu at chasqui dot uclv dot edu dot cu | Date: | Thu, 18 Oct 2001 01:48:01 +0000 |
| Subject: | Bug #13720: ftp_nlist and ftp_rawlist always return false | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-68178@lists.php.net to get a copy of this message | ||
From: manu@chasqui.uclv.edu.cu
Operating system: Windows 2000 Advance Server
PHP version: 4.0.6
PHP Bug Type: FTP related
Bug description: ftp_nlist and ftp_rawlist always return false
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 bug report at: http://bugs.php.net/?id=13720&edit=1