ID: 20536 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: FTP related Operating System: WinXP Pro SP1 PHP Version: 4CVS-2002-11-21 (dev) New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-11-21 02:40:52] [EMAIL PROTECTED] but as a script running from the command line it works ok! 8-() ------------------------------------------------------------------------ [2002-11-21 02:25:57] [EMAIL PROTECTED] I've tried this code on IIS5 $c = ftp_connect('127.0.0.1',21); $lrez = ftp_login($c,'anonymous',''); if ($c and $lrez) { echo 'Connected<BR>'; print_r(ftp_rawlist($c,'/incoming')); echo '<BR>'; print_r(ftp_nlist($c,'/incoming')); } echo '<BR>Bye...'; ftp_close($c); it results to Connected Bye... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20536&edit=1