#25625 [Opn->Csd]: ftp_*list cant retrive ftp list on some ftpd

From: Date: Mon, 22 Sep 2003 10:56:02 +0000
Subject: #25625 [Opn->Csd]: ftp_*list cant retrive ftp list on some ftpd
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47940@lists.php.net to get a copy of this message
ID: 25625 Updated by: sniper@php.net -Summary: [chm] bug on ref.ftp.html | ftp_*list cant retrive ftp list on some ftpd Reported By: sentomas at hotmail dot com -Status: Open +Status: Closed -Bug Type: Documentation problem +Bug Type: FTP related Operating System: freebad PHP Version: 4.3.3 New Comment: On second read..I think this is actually fixed in latest stable CVS. So try the latest STABLE snapshot from http://snaps.php.net and reopen if it doesn't work. Previous Comments: ------------------------------------------------------------------------ [2003-09-22 06:54:27] sniper@php.net reclassified ------------------------------------------------------------------------ [2003-09-22 06:22:44] sentomas at hotmail dot com 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 this bug report at http://bugs.php.net/?id=25625&edit=1

« previous php.bugs (#47940) next »