First you need to install the Server on a Web Server.
Put your files in the files/
folder
Then, in your code, just insert that to update your program !
SUpdate su = new SUpdate("UrlOfTheServer", new File("OutputFolder"));
su.start();
- Automatic files checking with MD5s
- Unknown files are deleted excepted the one listed in the server whitelist (config/ignore.list)
- Modified files are re-downloaded
- Multi-thread
- Progress bar API