Advertisement
thioshp

ProFTP Unable to Upload Via Browser

Mar 13th, 2016
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. If unable to upload to WordPress (eg plugins), add the following lines to the bottom of your WordPress's wp-config.php file:
  2.  
  3. if(is_admin()) { add_filter('filesystem_method', create_function('$a', 'return "direct";' )); define( 'FS_CHMOD_DIR', 0751 ); }
  4.  
  5. to the your wp-config.php file. I had the same problem and this fixed it for me.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement