[wp-trac] [WordPress Trac] #63780: [core] Upgrades over FTP fail for files owned by users or groups with space in the name (non-Windows systems)

WordPress Trac noreply at wordpress.org
Tue Aug 26 17:15:59 UTC 2025


#63780: [core] Upgrades over FTP fail for files owned by users or groups with space
in the name (non-Windows systems)
-----------------------------+------------------------------
 Reporter:  ivucica          |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  6.8.2
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  administration
-----------------------------+------------------------------

Comment (by q0rban):

 Perhaps this should use [https://www.php.net/manual/en/function.ftp-
 mlsd.php ftp_mlsd()] instead, which outputs an array:


 {{{
   array(8) {
     ["name"]=> string(10) "public_ftp"
     ["modify"]=> string(14) "20171211174536"
     ["perm"]=> string(7) "flcdmpe"
     ["type"]=> string(3) "dir"
     ["unique"]=> string(11) "811U57405EE"
     ["UNIX.group"]=> string(2) "33"
     ["UNIX.mode"]=> string(4) "0755"
     ["UNIX.owner"]=> string(2) "33"
   }
 }}}

 This is available in PHP versions (PHP 7 >= 7.2.0, PHP 8)

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


More information about the wp-trac mailing list