ID:               20536
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         FTP related
 Operating System: WinXP Pro SP1
 PHP Version:      4CVS-2002-11-21 (dev)
 New Comment:

but as a script running from the command line it works ok! 8-()


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

[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

Reply via email to