Download Image from url - Tutorial

How to download a file or an image from a direct url and save it into a
folder