You might get noticed a thing that when you install, delete or even upgrade plugins or themes, WordPress might asks you the FTP credentials all the time, which nothing but makes you but. While, honestly speaking it does irritate me a lot, but thanks to the snippet below, you can change the file system method in your website, result of which WordPress won’t ask for your FTP login and password again. Copy and paste the following line of code in your wp-config.php file and you are done.

Snippet Source/Credit: WP Tuts+