Jump to content

Recommended Posts

Posted

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?

Posted

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]

Posted

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.

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
×
×
  • Create New...