YoseMite Posted August 16, 2005 Posted August 16, 2005 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
seandisanti Posted August 16, 2005 Posted August 16, 2005 Ey,I have a website with this file:update.txt$update = 1.0Now 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)
seandisanti Posted August 16, 2005 Posted August 16, 2005 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
w0uter Posted August 16, 2005 Posted August 16, 2005 i think _INetGetSource can also read .txt My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now