[wp-trac] [WordPress Trac] #28013: WP_Filesystem_FTPext::exists($filename) returns false when file exists on FTP Service ( IIS/6.0 Microsoft & Linux/vsftp )

WordPress Trac noreply at wordpress.org
Wed Aug 28 15:11:20 UTC 2024


#28013: WP_Filesystem_FTPext::exists($filename) returns false when file exists on
FTP Service ( IIS/6.0 Microsoft & Linux/vsftp )
----------------------------+-----------------------------
 Reporter:  joostdekeijzer  |       Owner:  dd32
     Type:  defect (bug)    |      Status:  reopened
 Priority:  normal          |   Milestone:  Future Release
Component:  Filesystem API  |     Version:  3.9.2
 Severity:  normal          |  Resolution:
 Keywords:  close           |     Focuses:  administration
----------------------------+-----------------------------

Comment (by zippy1970):

 Also, the problem arose when (several) FTP servers dropped support for
 globbing. My suggested fix works on servers with and without (support for)
 globbing. And perhaps it will not work on ''all'' servers (although I
 seriously doubt that). But at least it will work on a ''whole lot more''
 servers than it does now. And it will not break on servers where the
 current version of the function works. It will still work there as well.
 So you loose nothing, but gain a lot.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/28013#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list