#16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing
| From: | mnares at cox dot net | Date: | Tue, 16 Dec 2003 09:55:45 +0000 |
| Subject: | #16057 [Com]: ftp_nlist() and ftp_rawlist() return nothing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-52161@lists.php.net to get a copy of this message | ||
ID: 16057
Comment by: mnares at cox dot net
Reported By: ryan at wonko dot com
Status: Closed
Bug Type: FTP related
Operating System: Windows 2000 Advanced Server
PHP Version: 4.1.2
New Comment:
This issue is still not fixed...I am running PHP 4.3.3 on Windows XP SP
1, and I still get this error.
Previous Comments:
------------------------------------------------------------------------
[2003-12-12 16:19:23] pdavis at pobox dot com
PHP 4.3.3 seems to be showing the same problem. When trying to connect
to my own FTP server (Windows/IIS) and checking the FTP log file, it
seems that the login and CWD are successful but no directory request
ever comes through.
I moved the code over to a Linux server and connected to the IIS FTP
server that I was originally trying to connect to and everything worked
fine.
------------------------------------------------------------------------
[2002-08-16 10:03:51] iliaa@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at
http://www.php.net/downloads.php
This issue appears to be fixed in the latest CVS. You can grab a
snapshot of it here: http://snaps.php.net/win32/
------------------------------------------------------------------------
[2002-04-02 13:39:32] sander@php.net
Dupe of 13913
------------------------------------------------------------------------
[2002-03-14 02:23:50] ryan at wonko dot 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