Bug #39458 [Com]: ftp_nlist returns false on empty directories

From: Date: Tue, 29 Sep 2015 08:04:39 +0000
Subject: Bug #39458 [Com]: ftp_nlist returns false on empty directories
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-196298@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=39458&edit=1 ID: 39458 Comment by: tejasrathod02 at gmail dot com Reported by: brain at eucoders dot com Summary: ftp_nlist returns false on empty directories Status: Closed Type: Bug Package: FTP related Operating System: Rehat Linux PHP Version: 4.4.5-dev Assigned To: nlopess Block user comment: N Private report: N New Comment: I can able to draw the line transperently with pen passing through the obstacles of stage. Previous Comments: ------------------------------------------------------------------------ [2007-01-03 22:48:43] nlopess@php.net OK, I have analysed your server response and it is returning a non-valid response (code 450). searching a little leads to: http://bugs.proftpd.org/show_bug.cgi?id=2863 http://bugs.proftpd.org/show_bug.cgi?id=2861 comment from the proftpd developer: "Resolved in 1.3.1rc1", so you'll need to upgrade proftpd as well. Closing bug report as the problem was already fixed (it didn't worked with a valid return code: 226) ------------------------------------------------------------------------ [2007-01-03 20:06:52] nlopess@php.net After all, I had already merged the patch to php 4.4 some time ago. So I really need access to your FTP server (an anonymous account is sufficient) ------------------------------------------------------------------------ [2007-01-03 18:24:38] brain at eucoders dot com Ok, after testing and testing and testing I got a nasty conclusion... After testing: http://www.phpclasses.org/browse/package/3174.html http://www.phpclasses.org/browse/package/2137.html http://www.phpclasses.org/browse/package/1244.html which are simple clases to handle FTP without builtin functions I got the same result which is "false" instead of "array()". That gave me the conclusion that it can be another bug in my ProFTP server 1.2.9 and I tried the same scripts for a different ftp server and worked fine. I think I will try to update ProFTP as well, and check again and post a bug on their site. Thanx. ------------------------------------------------------------------------ [2007-01-03 18:10:35] nlopess@php.net I didn't merge the patches to PHP 4.. ------------------------------------------------------------------------ [2007-01-03 17:10:07] brain at eucoders dot com The previous sequence is returning false even though the directory exists and have 777 permissions. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=39458 -- Edit this bug report at https://bugs.php.net/bug.php?id=39458&edit=1

« previous php.bugs (#196298) next »