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

Reply via email to