[wp-trac] [WordPress Trac] #51170: FTP automatic updates are not RFC 959 compliant for NLST command
WordPress Trac
noreply at wordpress.org
Mon Aug 8 12:40:07 UTC 2022
#51170: FTP automatic updates are not RFC 959 compliant for NLST command
------------------------------------+-----------------------
Reporter: giox069 | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1
Component: Filesystem API | Version: 3.7
Severity: normal | Resolution: fixed
Keywords: has-patch early commit | Focuses:
------------------------------------+-----------------------
Changes (by audrasjb):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"53860" 53860]:
{{{
#!CommitTicketReference repository="" revision="53860"
Filesystem: Rewrite FTP/FTP Sockets `exists()` methods to implement a more
stable check.
WordPress FTP file checking was previously based upon `ftp_nlist()`. This
function can be problematic at scale with a directory containing a large
number of files. The same issue occurred using it with ftpsockets.
This changeset rewrites the FTP `exists()` functions to utilize a more
efficient and stable check.
Props giox069, desrosj, mkox, afragen, costdev, pbiron, peterwilsoncc.
Fixes #51170.
See #53318, #39781.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51170#comment:55>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list