From: sentomas at hotmail dot com
Operating system: freebad
PHP version: 4.3.3
PHP Bug Type: FTP related
Bug description: [chm] bug on ref.ftp.html | ftp_*list cant retrive ftp list on some ftpd

Description:
------------
I have found a bug on page ref.ftp.html
[chm date: 2003-09-06]...

ftp_nlist() and ftp_rawlist cant retrive ftp list on some ftpd (titan
etc). These function return null array in these ftpd.

may because these ftpd return some info before the content of dir list.
here is ftp client info:
..
..
ftp> ls -la
227 Entering Passive Mode (xx,xxx,73,245,18,54).
150 File status okay; about to open data connection.
total 8
drwxrwx--- 1 owner group 512 Aug 06 10:46 .
drwxrwx--- 1 owner group 512 Aug 06 10:46 ..
..
..
drwxrwx--- 1 owner group 512 Sep 10 21:27 Temp
..
..
..
226 Closing data connection. Transferred 462 bytes.

Expected result:
----------------
null return

Actual result:
--------------
should be:

drwxrwx--- 1 owner group 512 Aug 06 10:46 .
drwxrwx--- 1 owner group 512 Aug 06 10:46 ..
..
..
drwxrwx--- 1 owner group 512 Sep 10 21:27 Temp
..
..
..

--
Edit bug report at [url]http://bugs.php.net/?id=25625&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=25625&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=25625&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=25625&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=25625&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=25625&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=25625&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=25625&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=25625&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=25625&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=25625&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=25625&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=25625&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=25625&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=25625&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=25625&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=25625&r=float[/url]