[wp-trac] [WordPress Trac] #51170: FTP automatic updates are not RFC 959 compliant for NLST command

WordPress Trac noreply at wordpress.org
Sat Mar 26 16:41:18 UTC 2022


#51170: FTP automatic updates are not RFC 959 compliant for NLST command
------------------------------+-----------------------
 Reporter:  giox069           |       Owner:  afragen
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  6.0
Component:  Filesystem API    |     Version:  3.7
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------

Comment (by pbiron):

 I've tested the PR with both `ftpext` and `ftpsockets` FS_METHOD and I get
 results consistent with @costdev (although I only tested in the context of
 the uses of `::exists()` that are exercised by `WP_Upgrader`).

 My only concern is the comment from @rawrly about `SIZE` not being
 implemented by some FTP servers.  For reference, the `SIZE` command was
 introduced in [https://datatracker.ietf.org/doc/html/rfc3659#section-4 RFC
 3659 - Extensions to FTP].

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


More information about the wp-trac mailing list