WP_filesystem improvements
-
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_sftpIf 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.
The topic ‘WP_filesystem improvements’ is closed to new replies.