Insert FS_METHOD Paste the following code to your wp-config.php file, preferably just below every other line of code. From http://www.hongkiat.com/blog/update-wordpress-without-ftp/
define('FS_METHOD','direct');