My MacBook Pro disconnects from the WiFi when not in use I usually download large files overnight but recently I had my mac formatted so all the settings were lost. I not that much of a techie person and I tried adjusting the settings and all but I don't really know what I'm supposed to do.

After I start my downloads, I plug my mac to its power adapter and dim the screen. To my surprise, the wifi gets disconnected when my mac is not in use thus stopping all my downloads. HOW DO I PREVENT MY MAC FROM DISCONNECTING FROM THE WIFI?

Here are my energy saver settings and I currently use Yosemite:
Try unchecking "put hard disks to sleep when possible"