So I am constantly working on my programs, and making new versions.
I have made an updater for my program, but I'm not to sure it is the proper way to do it.

This is what it does:

- Downloads and checks a "update.txt", hosted online with a version number in it
- If the version number is higher than the current app's version number alerts the user to the update
- When the message is clicked, the new version is downloaded
- once download is finished, the app closes and the new installer is run

This works very well and all, but the first part, were it downloads the txt file, for some reason windows continually use's the temp files once it has downloaded once. So when I update that txt file, its not for a day or two until windows actually downloads a new copy of the updated text file?

This may just be the way I'm downloading the file? I'm really not sure?

Any suggestions?
Thanks