php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28507 ftp_rawlist returns boolean (false)
Submitted: 2004-05-24 15:00 UTC Modified: 2004-05-24 18:54 UTC
From: pear dot 20 dot fab at spamgourmet dot com Assigned:
Status: Not a bug Package: FTP related
PHP Version: 4.3.6 OS: win 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pear dot 20 dot fab at spamgourmet dot com
New email:
PHP Version: OS:

 

 [2004-05-24 15:00 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-24 15:06 UTC] 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 18:54 UTC] iliaa@php.net
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. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 10:01:30 2024 UTC