A ready-to-use download function with support to progress bar and status of the progress