[wp-trac] [WordPress Trac] #63197: Sanity Checks in mkdir and delete for FTPext Filesystem
WordPress Trac
noreply at wordpress.org
Sat Mar 29 13:55:16 UTC 2025
#63197: Sanity Checks in mkdir and delete for FTPext Filesystem
-------------------------+-------------------------------------------------
Reporter: SirLouen | Owner: (none)
Type: defect | Status: new
(bug) |
Priority: normal | Milestone: Awaiting Review
Component: Filesystem | Version: trunk
API | Keywords: needs-testing dev-feedback has-
Severity: major | testing-info
Focuses: |
-------------------------+-------------------------------------------------
I've noted that during the process of Core updating with FTP ext with a
specific legit FTP setup I've created using the `wordpress-develop` + some
edits in the docker containerization system, the update was throwing a ton
of errors and ultimately failing.
This is the final revision of a series of reports to solve this.
Here is the FTP setup
https://core.trac.wordpress.org/ticket/63172
This patch is also needed, because it sorts some big issues with `exists`
method in FTPext
https://core.trac.wordpress.org/ticket/63173
With these two patches set-up and running, now we can proceed to test
this.
Instructions to reproduce
1. Set up a FTP. Ideally the root of the FTP should be / in the WP folder.
For example, if you access your FTP with your credentials, your `wp-
content` should be straight in `/wp-content/`, not in something like
`/var/www/wp-content` or `/home/youruser/website/wp-content/`
2. Set the `ftpext` `FS_METHOD`
3. Set your credentials in `wp-config.php` minimally:
{{{
define( 'FS_METHOD', 'ftpext' );
define( 'FTP_USER', '.......' );
define( 'FTP_PASS', '.......' );
define( 'FTP_HOST', '......' );
}}}
4. Run a core update and see all the errors.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63197>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list