Silverfrost Forums

Welcome to our forums

Automated check for updates

4 Feb 2021 11:16 #27038

HI

I am trying to get my applications to automatically check for if updated versions are available. The latest version would be stored on a public facing website in a simple file (.htm or .txt)

My initial approach would be to try and open the file, read contents and then look for appropriate information. How (if possible) would i pass the web address to the OPEN() function (ip address unknown)?

Another approach maybe to copy the file to the TEMP folder and then examine it

I can view the version file using %wb but ideally would like to access the contents

If anybody has any suggestions or have an alternative approach i would be grateful

Thanks

Steve

4 Feb 2021 11:26 #27039

Do you mean an updated executable (and possibly other files)?


-- Admin Silverfrost Limited
4 Feb 2021 11:31 #27040

Hi

correct. initially executables but in principle its use could be extend to other files

thx

steve

4 Feb 2021 11:49 #27041

Have you seen this:

https://www.silverfrost.com/ftn95-help/clearwinp/library/read_url_.aspx

You could have a simple web page that contains the text for the version of your downloadable software. You compare it to the running version and if the web one is different you download it (via the same library function).

4 Feb 2021 11:56 #27042

Robert

this seems to be exactly what i am looking for. I must seem more time reading the on-line help

thanks

Steve

Please login to reply.