I just move my server to Mac server before I use to be with GOdaddy was no problem updating framework of my theme

now I'm getting this error

Failed: Filesystem preventing downloads. ( ftpext)

not sure why but I've put this code in wp-config.php already

putenv('TMPDIR=' . ini_get('upload_tmp_dir'));

define('FS_METHOD', 'ftpext');

define('FTP_BASE', 'wpdirectory');

define('FTP_USER', 'myuser');

define('FTP_PASS', 'mypassword');

define('FTP_HOST', 'myftphost');

define('FTP_SSL', false);

1 Answer 1


Just add this line in your wp-config.php:

define( 'FS_METHOD', 'direct' ); 
  • This also fixed my "Failed to connect to FTP Server" error. Thanks
    – davehale23
    Jan 21, 2013 at 19:09

Not the answer you're looking for? Browse other questions tagged or ask your own question.