[wp-trac] Re: [WordPress Trac] #7690: Using SSH2 to upload files/wordpress

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 7 00:32:06 GMT 2008


#7690: Using SSH2 to upload files/wordpress
-------------------------------------+--------------------------------------
 Reporter:  ShaneF                   |        Owner:  anonymous
     Type:  enhancement              |       Status:  new      
 Priority:  normal                   |    Milestone:  2.7      
Component:  Administration           |      Version:  2.7      
 Severity:  normal                   |   Resolution:           
 Keywords:  ssh upgrade dev-testing  |  
-------------------------------------+--------------------------------------
Comment (by DD32):

 > It says the wrapper is 4.3.0+

 But then check the functions which can utilise the wrapper, They all say
 they support that style wrapper in PHP5+, I think fopen() is probably the
 exception to that.

 I actually have the entire thing working now, Completely seperate to your
 code, just with the rather large time being used (10+minutes)

 Assuming the wrapper is available in all installs of the module, I say use
 that, Its supposably faster than the pure api calls (for some odd reason)
 and it'll mean no temporary files need to be created

 (Note: _send/_recv() functions expect a local FILE NAME, not a file
 Handle, thats why its failing for you)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7690#comment:24>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list