Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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);
share|improve this question

1 Answer

up vote 2 down vote accepted

just add this line in your wp-config.php

define('FS_METHOD', 'direct');

share|improve this answer
This also fixed my "Failed to connect to FTP Server" error. Thanks – davehale23 Jan 21 at 19:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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