Bug #13720 Updated: ftp_nlist and ftp_rawlist always return false

From: Date: Thu, 18 Oct 2001 15:15:39 +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-68246@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 Old Status: Feedback Status: Open Bug Type: FTP related Operating System: Windows 2000 Advance Server PHP Version: 4.0.6 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.dev (#68246) next »