php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19855 ftp_rawlist and ftp_nlist still returns nothing
Submitted: 2002-10-10 16:57 UTC Modified: 2002-10-10 20:09 UTC
From: mikeg at sultran dot com Assigned:
Status: Closed Package: FTP related
PHP Version: 4.2.3 OS: NT4, XP Pro
Private report: No CVE-ID: None
 [2002-10-10 16:57 UTC] mikeg at sultran dot com
I have checked all the other bug reports for this issue but they have all been closed.  I just downloaded the newest version php4-win32-STABLE-200210101600.zip from snaps.php.net and it still doesn't work.

I have tried this with NT4/IIS4 and XP/IIS5, both running in 'cgi' mode.

The code I am using:

     $con = ftp_connect('192.168.3.18',21,30);
     $rc = ftp_login($con,'ftpclient','*');
     if ($con) {
       $rawlist = ftp_rawlist($con,'');
       $nlist = ftp_nlist($con,'');
       echo 'rawlist<br>';
       print_r($rawlist);
       echo 'nlist<br>'; 
       print_r($nlist);
       ftp_close($con);

Thanks.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-10 17:12 UTC] mikeg at sultran dot com
fixed spelling
 [2002-10-10 18:35 UTC] sniper@php.net
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.
 [2002-10-10 19:55 UTC] mikeg at sultran dot com
Did you even read the message?  I had the latest from today and it still does not work.
 [2002-10-10 20:02 UTC] mikeg at sultran dot com
Sorry for my last response but this is getting a little frustrating.  As I said I have tried the lastest version (from today at 1600) in CVS and it is not fixed.
 [2002-10-10 20:09 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

You tried wrong snapshot..the STABLE branch does not have the fix.

 [2002-10-10 21:46 UTC] mikeg at sultran dot com
Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 11:01:30 2024 UTC