ftp problems with wordpress automatic update
March 1st, 2012 by Lawrence David
i was getting this error: “There was an error connecting to the server, Please verify the settings are correct.” when trying to use wordpress’ automatic update function.
turns out the problem was that my ftp server was disallowing local connections.
to fix, i had to uncomment the line: “local_enable=YES” from /etc/vsftpd.conf and restart the vsftpd server.
then, i noticed a new problem while updating: “Could not create directory.”
the solution: uncomment “write_enable=YES” from /etc/vsftpd.conf and restart again.
finally, i eliminated “Could not copy files.” errors by chown’ing all files and directories in my wordpress directory to be owned by the ftp user specified in the update login.