Sign in to follow this  
Followers 0
botanic

Make Updater...

5 posts in this topic

Im trying to make an autoupdater for a bot im making, I am trying to make it so that it automaticaly dl's files off my webpage anyone have any ideas on how I can do this?

Share this post


Link to post
Share on other sites



Here's the scheme I use:

Host a Ini file on the server, containing the version of all the product files with their respetive name, description and URL.

Make a little updating script which will download this ini file, compare the file versions (FileGetVersion) with the ini one, and download (and replace) the files with fresh new ones downloaded from the urls with InetGet. You can use a progress bar based on the total file size / @InetBytesRead. And a status bar which shows what file it's downloading (from the ini description).


[quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"][/font]

Share this post


Link to post
Share on other sites

I get the ini part but how do i make it actually do the downloading?

Share this post


Link to post
Share on other sites

I get the ini part but how do i make it actually do the downloading?

search inet in help. I think it is inetget(URL)

Share this post


Link to post
Share on other sites

search inet in help. I think it is inetget(URL)

If you need more robust return codes than inetget() provides, you may wish to write or locate a wrapper written around curl or wget, or your favorite ftp client.

Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Share this post


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
Sign in to follow this  
Followers 0