php.net |  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
 [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, '/');
var_dump($ls);
var_dump($rls);

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.

Manu.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-17 21:52 UTC] jpm@php.net
Bug submitted twice by accident. Bogusifying.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC