Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing

From: Date: Thu, 14 Mar 2002 11:12:02 +0000
Subject: Bug #16057 Updated: ftp_nlist() and ftp_rawlist() return nothing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2468@lists.php.net to get a copy of this message
ID: 16057 Updated by: ryan@wonko.com Reported By: ryan@wonko.com Status: Open Bug Type: FTP related Operating System: Windows 2000 Advanced Server -PHP Version: 4.1.1 +PHP Version: 4.1.2 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2002-03-14 02:23:50] ryan@wonko.com 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", "anon@anon.com"); $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

« previous php.bugs (#2468) next »