﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
10348	Include PHP-based SSH2 layer for those without the SSH2 PHP extension	blazerlocal	dd32	"I have two webhosts - webhost A and webhost B - and WP_filesystem has issues with both.

== Webhost A ==
I have SSH/SFTP access but the ssh2 extension is not installed. Also, although I don't have FTP access, the ftp extension is installed (presumably so that I might connect to '''other''' FTP servers). As a consequence, all I'm prompted for are FTP settings that don't exist. In this particular case, a pure-PHP implementation of SFTP would be helpful. In fact, after doing a Google search, I've found such an implementation:

http://phpseclib.cvs.sourceforge.net/viewvc/%2Acheckout%2A/phpseclib/phpseclib/Net/SFTP.php

http://phpseclib.sourceforge.net/documentation/net.html#net_sftp

If Wordpress could include this, that would be very helpful. Wordpress already includes a pure-PHP implementation of FTP that doesn't require the ftp extension, so this is not without precedent.

== Webhost B ==
I do not have an SSH account but the ssh2 extension is installed. I do, however, have an FTP account, but because Wordpress doesn't let you pick and chose which method you want to use, I can't use it. Wordpress is '''only''' prompting me for SFTP information and I believe it should instead be asking you which method you want to use - not auto-detect it.

If it were my own personal website, I'd just get a better host, but it's not - it's a website that I, in one case, am doing for my employer, and, in another case, a website I'm working on for a client. They want to control the servers on which their website is hosted and don't want to spend the time to actually customize them any more than they already have. It's annoying as hell, but it is what it is and there's not much I can do about it.

Besides, as I've already observed, Wordpress already partially caters to people with less than ideal webhosts. A good webhost would have the ftp extension installed, for example, yet Wordpress includes a pure-PHP implementation of FTP to cater to those who don't have a good webhost all the same. Why not do the same thing for SFTP?"	enhancement	closed	normal		Filesystem	2.9	normal	maybelater	needs-patch 2nd-opinion	
