views:

3043

answers:

6

I am using wordpress on my live server which only uses sftp using an ssh key.

I want to install and upgrade plugins, but it appears that you are required to enter your ftp login to install the plugins. Is there a way to install and upgrade plugins by manually uploading the files instead of having wordpress handle the entire process?

+1  A: 

Usually you can just upload your plugin to the wp-content\plugins directory. if you dont have access to this directory via sftp I'm afraid you may be stuck.

Toby Allen
Yep, just drop 'em in wp-content/plugins.
ceejayoz
+2  A: 

WordPress 2.7 lets you upload a zip file directly (there's a link at the bottom of the plugins page) -- no FTP access needed. This is a new feature in 2.7, and it works for plugins only (not themes yet).

D. Lambert
BTW, upgrading is even easier -- you'll see an icon indicating that a new version is available, and you click "upgrade" and let it do its thing. Very nice. Even the WordPress core is upgraded this way - I went from 2.7 to 2.7.1 w/o uploading anything.
D. Lambert
A: 

We use sftp w/ ssh (on both our dev and live servers) & have tried (not too hard though) to use the WP upload feature. I agree with Toby, upload your plugin(s) to the wp-content/plugins directory and then activate them from there.

Tim Schoffelman
A: 

Use the One Click Plugin Updater.

laurentb
A: 

I developed a plugin but worry that my users are not going to understand how to FTP it to wordpress (its a plugin for bloggers who aren't always tech savvy). I want the user to have the option of cutting and pasting the code and adding it to wordpress's sidebar.php. Is it possible to install a plugin that way?

A: 

It is possible to use SFTP or SSH to auto update Plugins in WordPress, but you need to have ssh2 pecl extension. You can find out how to do it, using the following tutorial

Sudar