FTP Upgrade Fix

Fixes problems that prevent installing or updating WordPress, themes, and plugins on some FTP server configurations (typically Pure-FTPd).

Author:John Ford (profile at wordpress.org)
WordPress version required:2.5
WordPress version tested:3.1.4
Plugin version:1.0
Added to WordPress repository:05-03-2011
Last updated:05-03-2011
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://johnford.is/fixing-errors-when-upgradi...
Total downloads:9 703
Active installs:10+
plugin download
Click to start download

Some server configurations running Pure-FTPd have trouble updating WordPress via FTP. Common error messages when trying to update WordPress or update/install a plugin look like this:

  • Could not copy file.: /wp-admin/css/theme-editor.dev.css
  • Could not copy file.: /public_html/wp-admin/css/theme-editor.dev.css
  • Could not copy file.: /.../.../wp-admin/css/theme-editor.dev.css
  • Could not create file.: /public_html/

Each of these cases seem to be related. There is a patch going into WordPress 3.2 that should take care of the issues and the plugin will be obsolete after updating to that version (http://core.trac.wordpress.org/ticket/10913). In the meantime, install and activate this plugin. Updates should work as expected.