ID: 25702
Updated by: [EMAIL PROTECTED]
Reported By: ctomele at hotmail dot com
Status: Open
Bug Type: FTP related
Operating System: Windows 2003 Server Beta 2
PHP Version: 5CVS-2003-09-30 (dev)
New Comment:
Works fine also under windows XP.
Previous Comments:
------------------------------------------------------------------------
[2003-09-30 14:40:48] [EMAIL PROTECTED]
Works fine for me with PHP 4.3.4RC2-dev. (Linux)
------------------------------------------------------------------------
[2003-09-30 14:30:03] ctomele at hotmail dot com
$ftp_server = "wuarchive.wustl.edu";
$conn_id = ftp_connect($ftp_server) or die("Couldn't connect to
$ftp_server");
ftp_login($conn_id, "anonymous", "[EMAIL PROTECTED]");
$content = ftp_nlist($conn_id, "/");
echo "<pre>";
print_r($content);
echo "</pre>";
ftp_close($conn_id);
------------------------------------------------------------------------
[2003-09-30 13:22:23] [EMAIL PROTECTED]
Please provide a script that accesses a public FTP server running the
same software. We can't do anything about this otherwise.
------------------------------------------------------------------------
[2003-09-30 10:39:10] ctomele at hotmail dot com
Description:
------------
Running:
Win 2003 Server
IIS 6.0
FTP is IIS 6, and also XServer (OSX)
Gives an empty result.
Tried latest stable 4 as well as Version 5.0.0b2-dev.
I know this is beating a dead horse, I just didn't see anyone reporting
it on IIS 6 and it seems to have come back.
Reproduce code:
---------------
$ftp_server = "10.10.1.242";
$conn_id = ftp_connect($ftp_server) or die("Couldn't connect to
$ftp_server");
ftp_login($conn_id, "####", "####");
$content = ftp_nlist($conn_id, "/");
echo "<pre>";
print_r($content);
echo "</pre>";
ftp_close($conn_id);
Expected result:
----------------
Should have listed directory contents.
Actual result:
--------------
Nada.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25702&edit=1