SFTP Support (4 posts)

  1. sochor
    Posted 6 years ago #

    Hello folks,

    I am interested in this matter. Do you plan to add SFTP support to plugin upgrade? Because I cannot update my plugins in this way right now.


  2. I had the same problem: in your PHP config you need to install the SSH2 extension.

    See http://felipecruz.com/blog_using-ssh2-and-php.php for an example. You may have to compile the extension. On my install it was a straight pecl command but your mileage may vary.

    Once the ssh2 extension is installed, use phpinfo() to confirm it's there. If it is, then the ssh2 option will become available as a choice in your plugin update.

  3. Or to explain to the non-technical: It's not that WordPress doesn't understand SFTP, it's that PHP (the engine that runs WordPress and many other apps) isn't set up for it yet.

    If you don't know how to (or can't) set it up on your server, contact your webhost. They should be able to help.

  4. Clayton James
    Posted 6 years ago #

    There also seems to be some fairly straight forward "how to" instructions in /includes/class-wp-filesystem-ssh2.php.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.