I am trying to move a site to my webserver at home, running CentOS 5.5, and I'm having a problem: I can't update plugins.
I saw that WordPress is using a FTP server to transfer data, so I searched for a simple FTP server to quickly configure and set up. I found bftpd (LINK). I configured the FTP server and successfully connected and did file operations from my PC, using Filezilla. But when WordPress connects via FTP to do the plugin update, it can't copy the files:
Downloading update from http://downloads.wordpress.org/plugin/google-analytics-for-wordpress.4.3.5.zip… Unpacking the update… Installing the latest version… Removing the old version of the plugin… Could not copy file. /***/***/wp-content/plugins/google-analytics-for-wordpress/languages/google-analytics-for-wordpress-fi.mo Plugin update failed.
I somehow have the feeling that it has something to do with user permissions or file permissions, but I have no idea where the problem is. I played with permissions and users and chown and chmod for days, and got no results.
When I get the message above, WordPress connects to the FTP using the same user that works from Filezilla.
What can I do?