To stop WordPress Asking For FTP details To Upgrade Plugins,
- Open up your wp-config.php file.
- Here you need to add your ftp login information so you will never have to type it in again. Now add the following bit of code to your wp-config.php file.
//*added ftp login credentials to avoid WordPress asking for FTP details every time I wanted to upgrade a plugin*
define('FTP_HOST', 'ftp.yoursite.com');
define('FTP_USER', 'Your_FTP_Username');
define('FTP_PASS', 'Your_FTP_password');
//*If you can use a SSL connection set this to true*
define('FTP_SSL', true);