#28507 [Opn]: ftp_rawlist returns boolean (false)
| From: | pear dot 20 dot fab at spamgourmet dot com | Date: | Mon, 24 May 2004 13:06:49 +0000 |
| Subject: | #28507 [Opn]: ftp_rawlist returns boolean (false) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59939@lists.php.net to get a copy of this message | ||
ID: 28507
User updated by: pear dot 20 dot fab at spamgourmet dot com
Reported By: pear dot 20 dot fab at spamgourmet dot com
Status: Open
Bug Type: FTP related
Operating System: win 2000
PHP Version: 4.3.6
New Comment:
Ah, i just saw that for ftp_nlist() FALSE means "error". Is there a way
to get a more exact error description?
Previous Comments:
------------------------------------------------------------------------
[2004-05-24 15:00:44] pear dot 20 dot fab at spamgourmet dot com
Description:
------------
Hi *,
im using ftp_rawlist() to browse some FTP servers. Sometimes
ftp_rawlist returns a boolean value (false) instead of an array as
stated in the documentation. Where does this boolean value come from?
I'm sorry that i can not give you any code that reproduces this bug,
because it seems to be path and server specific. If this is an expected
behaviour of ftp_rawlist(), why is it not mentioned in the doc or the
meaning of it?
FTP functions just work fine for other directories and servers. The
directories causing this bug (?) are always the same, although they are
accessible without any problem with a normal FTP program.
Regarrds, Nils.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28507&edit=1