Include PHP-based SSH2 layer for those without the SSH2 PHP extension
|Reported by:||blazerlocal||Owned by:||dd32|
|Component:||Filesystem API||Keywords:||needs-patch 2nd-opinion|
I have two webhosts - webhost A and webhost B - and WP_filesystem has issues with both.
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:
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.
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?
Change History (23)
- Component changed from General to Filesystem
- Owner set to dd32
- Status changed from new to assigned
- Milestone changed from Unassigned to Future Release
- Type changed from defect (bug) to enhancement
- Version set to 2.9
- Summary changed from WP_filesystem improvements to Include PHP-based SSH2 layer for those without the SSH2 PHP extension
- Milestone Future Release deleted
- Resolution set to wontfix
- Status changed from assigned to closed
5 years ago
- Resolution wontfix deleted
- Status changed from closed to reopened