[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
Fri Nov 11 16:02:56 UTC 2022


#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:                  |     Focuses:  administration
----------------------------+-----------------------------

Comment (by desrosj):

 In [changeset:"54816" 54816]:
 {{{
 #!CommitTicketReference repository="" revision="54816"
 Filesystem: Return FTP/FTP Sockets `exists()` methods to a previous state.

 This partially reverts [53860] and [53862], which refactored the
 `exists()` method to rely on `ftp_rawlist()` instead of `ftp_nlist()`.

 [53860] makes a similar attempt to the ones made in [33648] and [34733]
 (which were also reverted in [35944]). Being compliant with the
 specifications while continuing to work without issue for all FTP servers
 continues seem impossible. These little ghosts are the ones we’re scared
 of the most.

 Props jsh4, afragen, costdev, pkolenbr, SergeyBiryukov, dd32,
 peterwilsoncc, gamecreature, desrosj.
 Merges [54815] to the 6.1 branch.
 Fixes #56966.
 See #51170, #28013.
 }}}

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


More information about the wp-trac mailing list