[wp-trac] [WordPress Trac] #51170: FTP automatic updates are not RFC 959 compliant for NLST command
WordPress Trac
noreply at wordpress.org
Mon Jan 24 03:18:32 UTC 2022
#51170: FTP automatic updates are not RFC 959 compliant for NLST command
-------------------------------------------------+-------------------------
Reporter: giox069 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Filesystem API | Version: 3.7
Severity: normal | Resolution:
Keywords: reporter-feedback dev-feedback has- | Focuses:
patch |
-------------------------------------------------+-------------------------
Changes (by mkox):
* keywords: => reporter-feedback dev-feedback has-patch
Comment:
After digging into the exists topic and different rfcs I think this patch
is a good solution.
It improves behavior by first checking for dirs.
Then it uses the approved working method via ftp_nlist and adds flags if
someone is looking for a hidden file. #28013
If ftp_nlist will fail, it will now try to use the ftp_size method for the
target file - so @giox069 with pure-ftp issues with pure ftp should be
solved as well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51170#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list