Bug #10977: ftp_nlist() doesn't list directories
| From: | fredrik at devibe dot net | Date: | Sun, 20 May 2001 14:26:10 +0000 |
| Subject: | Bug #10977: ftp_nlist() doesn't list directories | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55951@lists.php.net to get a copy of this message | ||
From: fredrik@devibe.net
Operating system: RedHat Linux 7.0
PHP version: 4.0.4pl1
PHP Bug Type: FTP related
Bug description: ftp_nlist() doesn't list directories
ftp_nlist() only returns the file names when used with wu-ftp 2.6.1, not directories. When used with
wu-ftp 2.5.0 it does, so I guess this could also be a problem with wu-ftp. I've tried this with
an earlier PHP version as well, but the result remained the same. The fix was to install wu-ftp
2.5.0, but that's an old version and as I've heard it's not very secure, it'd be
nice to have this fixed.
--Fredrik
Btw: My configure line for php was:
'./configure --prefix=/usr --with-config-file-path=/etc --disable-debug --enable-pic
--enable-shared --enable-inline-optimization --with-apxs=/usr/sbin/apxs --with-exec-dir=/usr/bin
--with-regex=system --with-gettext --with-gd --with-jpeg-dir=/usr --with-png --with-zlib --with-db2
--with-db3 --with-gdbm --enable-debugger --enable-magic-quotes --enable-safe-mode --enable-sockets
--enable-sysvsem --enable-sysvshm --enable-track-vars --enable-yp --enable-ftp --enable-wddx
--without-mysql --without-oracle --without-oci8 --with-xml'
--
Edit Bug report at: http://bugs.php.net/?id=10977&edit=1