ID:               25296
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ates at isikun dot edu dot tr
-Status:           Assigned
+Status:           Wont fix
 Bug Type:         FTP related
 Operating System: win xp
 PHP Version:      4.3.4-dev
 Assigned To:      pollita
 New Comment:

Correction:
  When I "reproduced" this bug, I was talking to IIS's FTP service
directly using the "LIST" command (equivalent of ftp_rawlist) which
does return correct data.  However, using the "NLST" command
(equivalent of ftp_nlist) the data returned by IIS is
"/http/fopen.php\fopen.php" which is precisely what PHP turns around
and provides back.  This makes it Not-A-PHP-Bug, but rather a MS
problem.

  That said I don't want to leave you in the lurch, so here's a
workaround:

function IISisBROKEN_ftp_nlist($res, $dir) {
  if (ftp_size($res, $dir) >= 0) {
    return $dir;
  }

  return ftp_nlist($res, $dir);
}



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

[2003-09-02 10:02:58] [EMAIL PROTECTED]

Agreed, this isn't a duplicate of that other bug.

IIS returns \foo.txt properly, but somewhere along the line, PHP turns
that into /foo.txt/foo.txt.

I'll take assignment.

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

[2003-09-02 03:02:29] ates at isikun dot edu dot tr

there is nothing about permissions, rawlist returns "tosun.txt" but
nlist return "tosun.txt/tosun.txt "
if you nlist to files name it returns wrong think..

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

[2003-09-01 21:51:55] [EMAIL PROTECTED]

See bug #25347

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

[2003-09-01 06:42:23] ates at isikun dot edu dot tr

same problem continues

look at url = http://webgroup.isikun.edu.tr/arge/ftp/ftp_connect.php

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

[2003-08-31 16:09:38] [EMAIL PROTECTED]

Please try using this CVS snapshot:

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



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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/25296

-- 
Edit this bug report at http://bugs.php.net/?id=25296&edit=1

Reply via email to