ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-Dev
php-Dev
#25702 [Opn]: ftp_nlist & ftp_rawlist in IIS 6
by other posts by this author
Sep 30 2003 6:40PM messages near this date
#25702 [Opn]: ftp_nlist & ftp_rawlist in IIS 6 | #25702 [Fbk->Opn]: ftp_nlist & ftp_rawlist in IIS 6
ID:               25702
 Updated by:       sniper@[...].net
 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 for me with PHP 4.3.4RC2-dev. (Linux)



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

[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", "me@me.com");

$content = ftp_nlist($conn_id, "/");

echo "<pre> ";

print_r($content);
echo "</pre> ";


ftp_close($conn_id);

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

[2003-09-30 13:22:23] sniper@[...].net

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
Thread:
ctomele at hotmail dot com
pcatlin at plus dot com
ctomele at hotmail dot com

ctomele at hotmail dot com

ctomele at hotmail dot com


ctomele at hotmail dot com


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved