How to Stop WordPress Asking for FTP details to Upgrade Plugins

Why WordPress asks for FTP information and how you can stop typing in your details in each time you perform a plugin or core upgrade.