ID: 16057
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Duplicate
Bug Type: FTP related
Operating System: Windows 2000 Advanced Server
PHP Version: 4.1.2
New Comment:
php 4.2.0
w2k as
apache 1.3.24
same thing :(
will it be ever fixed?
Previous Comments:
------------------------------------------------------------------------
[2002-04-02 13:39:32] [EMAIL PROTECTED]
Dupe of 13913
------------------------------------------------------------------------
[2002-03-27 01:56:20] [EMAIL PROTECTED]
I encountered the same problem with ftp_nlist & ftp_rawlist PHP-Version
4.06pl1
it seems to me the problem is located in the data connection of ftp.
WU-FTP logfile indicates that no data connection can be established to
the W2K machine where the script runs.
------------------------------------------------------------------------
[2002-03-14 06:12:02] [EMAIL PROTECTED]
I've confirmed that this bug is still present in the Windows build of
4.1.2, and yet it works as documented in the Linux build of 4.1.2.
------------------------------------------------------------------------
[2002-03-14 02:23:50] [EMAIL PROTECTED]
In the Windows build of PHP 4.1.1, the ftp_nlist() and ftp_rawlist()
functions return absolutely nothing. The following script works just
fine in PHP 4.1.1 on Linux, but fails under Windows, no matter what FTP
server you try to connect to:
<?php
$conn = ftp_connect("ftp.kernel.org");
ftp_login($conn, "anonymous", "[EMAIL PROTECTED]");
$nlist = ftp_nlist($conn, "");
$rawlist = ftp_rawlist($conn, "");
echo "<pre>";
print_r($nlist);
print_r($rawlist);
echo "</pre>";
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16057&edit=1