[wp-trac] Re: [WordPress Trac] #7690: Using SSH2 to upload
files/wordpress
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 5 08:31:22 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):
> attachment 7690.5.diff added.
> See Note in comments
& of course HTML Preview would die :)
Notes:
* Doesnt use ssh2_sftp_* functions, uses ssh2_exec() instead, Can
probably be changed over at some point.
* shouldnt be too hard.. just add $this->sftp_link =
ssh2_sftp($this->link) and pass that around instead of $this->link in the
affected functions.
* includes changes from ShaneF in 7690.4.diff but NOT 7690.3.diff
* A few changes relating to spacing and quotation types
* It was working (in terms it could connect, create a file, delete a
file, etc) before making this patch, but i have not yet run a plugin
upgrade with it.
* Will need @ re-added in the future at some point, Best to leave them
out for debugging.. Else you'll be forever chasing the errors..
--
Ticket URL: <http://trac.wordpress.org/ticket/7690#comment:16>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list