Jump to content

Recommended Posts

Ey,

I have a website with this file:

update.txt

$update = 1.0

Now I want a application that check every (second? :">) the updates from the website...

(If are update is possible, must download he the update file)

How can I check every ... to updates?

Thx,

YoseMite

Link to post
Share on other sites

Ey,

I have a website with this file:

update.txt

$update = 1.0

Now I want a application that check every (second? :">) the updates from the website...

(If are update is possible, must download he the update file)

How can I check every ... to updates?

Thx,

YoseMite

<{POST_SNAPBACK}>

would you really want it checked every second? could probably get away with checking every minute, or even 10 minutes... but that doesn't really matter huh? what i'd do, is have a registry setting created that stores the last version updated to, then you could just use an InetGet() to get the file with the version number from the site, then parse out the version number, and compare it. then execute update if necessary. and throw it all in one big 'While 1' loop with a Sleep(1000) (to check every second)
Link to post
Share on other sites

How must I do that with InetGet() ? :$

<{POST_SNAPBACK}>

well the inetget() saves the file to your computer. you can then open that saved file, and read through it until you see the string you're looking for, and save taht value...

checkout InetGet(), FileOpen(), loops, and comparisons

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...