ID:               45129
 User updated by:  lonedesign_2k at yahoo dot com
 Reported By:      lonedesign_2k at yahoo dot com
 Status:           Open
 Bug Type:         Filesystem function related
-Operating System: Windows 2000
+Operating System: All
 PHP Version:      5.2.6
 New Comment:

OS changed from 'Windows 2000' to 'All' – reproduced on a Linux system.


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

[2008-05-29 20:53:30] lonedesign_2k at yahoo dot com

Description:
------------
file_exists() is returning true, but the file does not exist in the
specified FTP directory.

Glen.

Reproduce code:
---------------
clearstatcache(); // just in case.

$dst = 'ftp://user:[EMAIL PROTECTED]/test.txt';

if (file_exists($dst)) {
    echo 'File exists.';
} else {
    echo 'File does not exist.';
}

Expected result:
----------------
Output of 'File does not exist.'.

Actual result:
--------------
Output of 'File exists.'.


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


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

Reply via email to