ID:               25702
 User updated by:  ctomele at hotmail dot com
 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:

Well, I uninstalled PHP, reinstalled with clean ini, and I'm still not
getting a thing. I can appreciate that it works on XP, but I'm using
Sever 2003 and IIS 6, so I don't know if that's applicable.


Previous Comments:
------------------------------------------------------------------------

[2003-09-30 14:43:06] [EMAIL PROTECTED]

Works fine also under windows XP. 


------------------------------------------------------------------------

[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

Reply via email to