Hi everyone,
I'm coding an AutoUpdater Script for my Application and it's almost done. But the method I'm using is not the best, in fact, it will make me have a lot of work and I need to make it simplier.
My current script downloads a .txt file from the server to tempdir containing the version number and then compares it to the one in the .txt of my application folder, if the application version is lower than the server one, it will download a .rar with all the files.
So where's the problem? The problem is that the user will have to download the whole 2GB of my application everytime there is an update.
My idea was to just compare the client and server files and then if it would download just the different files. I've seen some methods around here but they don't do exactly what I need, also I don't think they support subfolder check.
Could some give me some advice? Or maybe even give me an example please?
I'm coding an AutoUpdater Script for my Application and it's almost done. But the method I'm using is not the best, in fact, it will make me have a lot of work and I need to make it simplier.
My current script downloads a .txt file from the server to tempdir containing the version number and then compares it to the one in the .txt of my application folder, if the application version is lower than the server one, it will download a .rar with all the files.
So where's the problem? The problem is that the user will have to download the whole 2GB of my application everytime there is an update.
My idea was to just compare the client and server files and then if it would download just the different files. I've seen some methods around here but they don't do exactly what I need, also I don't think they support subfolder check.
Could some give me some advice? Or maybe even give me an example please?