[wp-trac] [WordPress Trac] #10348: WP_filesystem improvements

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 6 22:20:40 UTC 2009


#10348: WP_filesystem improvements
--------------------------+-------------------------------------------------
 Reporter:  blazerlocal   |       Owner:  dd32      
     Type:  defect (bug)  |      Status:  assigned  
 Priority:  normal        |   Milestone:  Unassigned
Component:  Filesystem    |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------

Comment(by blazerlocal):

 I think they're actually a little inseparable.  Right now, if the
 fsockopen function is available and the ftp / ssh2 extensions aren't, FTP
 will be used automatically (see get_filesystem_method in wp-
 admin/includes/file.php).  If you have an SFTP implementation that uses
 fsockopen, as well, then you have ambiguity.  Do you do FTP or SFTP?  The
 server could arbitrarily assume one over the other or it could present the
 user with a choice.

 That said, I didn't know about the FS_METHOD constant - thanks!

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10348#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list