Check file on server and download progress

My program needs to check a file uploaded to my web server to see if it is a newer version than the current one (the version is in the file name, for example “program_v1.exe”), and download it. How I do that and how do I implement a download progress indicator?
Sorry for my english, is not my primary language.

I already found a way to check the version of the file, I need to know how to download the file and implement a progress bar for the download.

Xojo/Example Projects/Communication/Internet/HTTPDownloader.xojo_binary_project

Thanks Tim, I really forgot the examples.