forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Automated check for updates

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
steveDoyle



Joined: 04 Sep 2009
Posts: 86
Location: Manchester

PostPosted: Thu Feb 04, 2021 12:16 pm    Post subject: Automated check for updates Reply with quote

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
Back to top
View user's profile Send private message
silverfrost
Site Admin


Joined: 29 Nov 2006
Posts: 177
Location: Manchester

PostPosted: Thu Feb 04, 2021 12:26 pm    Post subject: Reply with quote

Do you mean an updated executable (and possibly other files)?
Back to top
View user's profile Send private message Visit poster's website
steveDoyle



Joined: 04 Sep 2009
Posts: 86
Location: Manchester

PostPosted: Thu Feb 04, 2021 12:31 pm    Post subject: Reply with quote

Hi

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

thx

steve
Back to top
View user's profile Send private message
Robert



Joined: 29 Nov 2006
Posts: 374
Location: Manchester

PostPosted: Thu Feb 04, 2021 12:49 pm    Post subject: Reply with quote

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).
Back to top
View user's profile Send private message Visit poster's website
steveDoyle



Joined: 04 Sep 2009
Posts: 86
Location: Manchester

PostPosted: Thu Feb 04, 2021 12:56 pm    Post subject: Reply with quote

Robert

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

thanks

Steve
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group