I had an issue with my plugins updating as well, IIS server and WP 3.5:
Download failed. Destination directory for file streaming does not exist or is not writable.
So following @ yylang1987 advice I added
/* Setup a temporary folder for uploading and updating */
define( 'WP_TEMP_DIR', ABSPATH . 'wp-content/tmp/') ;
Still no cheddar, but followed up with @nebruz advice and updated class-http.php lines 141 – 145 (approx).
// Force some settings if we are streaming to a file and check for existence and perms of destination directory
if ( $r['stream'] ) {
$r['blocking'] = true;
if ( ! is_writable( dirname( $r['filename'] ) ) )
if ( ! call_user_func( 'WIN' === strtoupper( substr( PHP_OS, 0, 3 ) ) ? 'win_is_writable' : 'is_writable', dirname( $r['filename'] ) ) )
return new WP_Error( 'http_request_failed', __( 'Destination directory for file streaming does not exist or is not writable.' ) );
}
But then I got…
Downloading update from https://downloads.www.ads-software.com/plugin/whatever.zip
Unpacking the update
Deactivating the plugin
Removing the old version of the plugin
Could not remove the old plugin
Plugin upgrade Failed
So following this post (https://www.ads-software.com/support/topic/plugin-upgrade-failing-cannot-remove-old-plugin?replies=25) and @ detroiter advice I updated the wp-config.php file with…
define('FS_METHOD', 'ftpsockets');
define('FTP_BASE', '/path/to/wordpress/');
define('FTP_CONTENT_DIR', '/path/to/wordpress/wp-content/');
define('FTP_PLUGIN_DIR ', '/path/to/wordpress/wp-content/plugins/');
define('FTP_USER', 'username');
define('FTP_PASS', 'password');
define('FTP_HOST', 'ftp.example.org');
SUCCESS!
Thanks gang, super helpful.