[wp-trac] [WordPress Trac] #6245: FTP Class Incompatibilities

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 16 05:30:13 GMT 2008

#6245: FTP Class Incompatibilities
 Reporter:  DD32            |       Owner:  anonymous        
     Type:  defect          |      Status:  new              
 Priority:  normal          |   Milestone:  2.5              
Component:  Administration  |     Version:  2.5              
 Severity:  normal          |    Keywords:  ftp needs-testing
 Related to #5586, However, This is a ticket for incompatibilities found
 with the FTP classes & wrappers.

 On a certain FTP server i was recieving the CWD as {{{257
 "/home/dd32/"}}}, Its failing to split out the correct pathname. See

 Also, trailingshashit() the current working dir. returns, some servers
 append /, some dont, standardise it and allways return a slashed string.
 See Patch.

 Finally, a Patch to {{{get_filesystem_method()}}} to allow Pure FTP method
 via the PemFTP class. Pem FTP has 2 methods, 1. Sockets(currently checked
 for), or 2. Pure PHP which uses fsockopen/fwrite/fread. So if fsock
 exists, allow it to use that method too. Once again, See patch.

 Also, Theres a patch in the works for a better
 {{{WP_Filesystem_ftp*::find_base_dir()}}} function, I'm currently testing
 it out a bit more, It should be faster, not have to perform as many ftp
 checks, and most importantly, Should handle WordPress installs within
 subfolders of other WordPress installs.

Ticket URL: <http://trac.wordpress.org/ticket/6245>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list