From:             [EMAIL PROTECTED]
Operating system: Windows 2000 Advanced Server
PHP version:      4.1.1
PHP Bug Type:     FTP related
Bug description:  ftp_nlist() and ftp_rawlist() return nothing

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 bug report at http://bugs.php.net/?id=16057&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16057&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16057&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16057&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16057&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16057&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16057&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16057&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16057&r=submittedtwice

Reply via email to