|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13721 ftp_nlist and ftp_rawlist always return false
Submitted: 2001-10-17 21:50 UTC Modified: 2001-10-17 21:52 UTC
From: manu at chasqui dot uclv dot edu dot cu Assigned:
Status: Not a bug Package: FTP related
PHP Version: 4.0.6 OS: Windows 2000 Advance Server
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: manu at chasqui dot uclv dot edu dot cu
New email:
PHP Version: OS:


 [2001-10-17 21:50 UTC] manu at chasqui dot uclv dot edu dot cu
I have code like this:

$conn = ftp_connect($ftp_server);
if (!conn) exit();
if (!ftp_login($conn, 'anonymous', '')) exit();
$ls = ftp_nlist($conn, '/');
$rls = ftp_rawlist($conn, '/');

I have tested this trying to connect to two different IIS 5.0 FTP servers, and I always get "bool(false)bool(false)" as output.
Into my php.ini there's nothing rare about ftp; just allow_url_fopen = On.
Before I upgrade PHP to PHP 4.0.6, I was doing some tests with FTP functions and ftp_nlist as well as ftp_rawlist was working fine.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-17 21:52 UTC]
Bug submitted twice by accident. Bogusifying.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Dec 01 10:03:34 2021 UTC