How to programmatically download a file?

Hi everyone!

One {site i’ve interested} a particular file

is published every day.

I wish to download it at 8.00 every day.

Does anyone know how?

Thanks,

   Dmitry.