Have you added the necessary constants in your wp-config.php? https://digwp.com/2010/11/ftp-in-wpconfig/
David
I am having a similar problem. I’ve tried many combinations of FS_METHOD and FTP_*.
Please advise which ones are needed for use with this plugin? I’m confused between the interaction between the FTP_SSL feature of a default WP installation, (doesn’t need this plugin?), and this plugin?
Preferably I want to use Secure FTP as I know that works on my server. I’m not sure if this is the same as SSH FTP but I suspect not?
Thanks for any advice and suggestions.
Maurice
See: https://guides.codechewing.com/wordpress/enable-secure-plugin-updates-ssh-sftp . The FS_METHOD is the one that tells WP to use the SFTP class in this plugin. All the other FTP constants are then used by WordPress to set the credentials. (The plugin doesn’t actually read or use any of the constants – it’s all in WP core).
I hadn’t noticed since taking over the maintainership of this plugin (I’m not the original author) that the setup instructions don’t explicitly mention how to use it. I will get that fixed for the next release!
Thread Starter
agor76
(@agor76)
Hi David, thanks for help
tried to add “define(‘FS_METHOD’, ‘ssh2’)” to my wp-config.php but no luck. No page asking for credentials, IPs or connection types comes up as it should. Am I missing something ?
Fabio
Hi Fabio,
Am I missing something ?
Add the other credentials mentioned in the article too.
David