#20536 [Opn->Csd]: ftp_nlist, ftp_rawlist returns nothing

From: Date: Thu, 21 Nov 2002 12:00:42 +0000
Subject: #20536 [Opn->Csd]: ftp_nlist, ftp_rawlist returns nothing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25412@lists.php.net to get a copy of this message
ID: 20536 Updated by: sander@php.net Reported By: axel@mail2000.ru -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] axel@mail2000.ru but as a script running from the command line it works ok! 8-() ------------------------------------------------------------------------ [2002-11-21 02:25:57] axel@mail2000.ru 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

« previous php.bugs (#25412) next »