#28507 [Opn->Bgs]: ftp_rawlist returns boolean (false)
| From: | iliaa@php.net | Date: | Mon, 24 May 2004 16:54:59 +0000 |
| Subject: | #28507 [Opn->Bgs]: ftp_rawlist returns boolean (false) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59941@lists.php.net to get a copy of this message | ||
ID: 28507
Updated by: iliaa@php.net
Reported By: pear dot 20 dot fab at spamgourmet dot com
-Status: Open
+Status: Bogus
Bug Type: FTP related
Operating System: win 2000
PHP Version: 4.3.6
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
This is expected behavior when an error occurs. The cause
of the error is either due to the ftp server not supporting
this function or it's support is non-standard.
Previous Comments:
------------------------------------------------------------------------
[2004-05-24 15:06:47] pear dot 20 dot fab at spamgourmet dot com
Ah, i just saw that for ftp_nlist() FALSE means "error". Is there a way
to get a more exact error description?
------------------------------------------------------------------------
[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