PDA

Click to See Complete Forum and Search --> : update utility


jason78944545
Jan 23rd, 2009, 05:01 AM
hi,
i looking for a free utility software to update the aplications
the ideia is put in my ftp server the new files and the program will see the ftp and compare the version that as installed in the pc client.
if the ftp files is more recent them he simple backup/delete the file on the pc and them copy the new one.
i know that with vb he can do this but so far i dont have time to build and test this kind of software and i dont want reivent the "wheel" lol
thanks for your help
:)

si_the_geek
Jan 23rd, 2009, 05:07 AM
You don't need to re-invent it, you can simply use the pre-made (and tested) examples in our CodeBank - VB6 (http://www.vbforums.com/forumdisplay.php?f=43) forum.

A search there (using the "Search this forum" link at the top of it, or the "Search"-"Advanced" link on any VBF page and select the forum) should find several examples.

From what I've seen, the one by WokaWidget is very good, but you may prefer one of the others.

jason78944545
Jan 23rd, 2009, 05:09 AM
thanks for your help i will try that :)

------

edit:

i have seen the woka but for what i understand he take the fileinfo directly with a .exe and work with .exe i looking for something that can uncompress the exe for example i what put the exe file compressed in the server for speed improvement.
thanks :)

Nightwalker83
Jan 23rd, 2009, 06:11 AM
i have seen the woka but for what i understand he take the fileinfo directly with a .exe and work with .exe i looking for something that can uncompress the exe for example i what put the exe file compressed in the server for speed improvement.
thanks :)

Unfortunately, VB6 executable file can't be decompiled! Search either the thread si linked to or one of the other code bank threads for codes and then compile them yourself providing you have the correct software.

jason78944545
Jan 23rd, 2009, 06:28 AM
hi,
i dont want decompile i want compress the exe with a winrar for example them i want a utility that can download the file uncompress the file and copy if is newer than other file that exist in the server :)

si_the_geek
Jan 23rd, 2009, 06:33 AM
The uncompress is something to do in addition to the kind of update scheme in Woka's code - and probably isn't worth the effort unless you have absolutely huge files to update (as you will be slowing down another part of the update process, and introducing chances for bugs/errors).


I can't remember quite how Woka's process works, but I think it uses a text file to specify versions available for download, in which case you would add the download location of the compressed version to that file.

When it is downloaded (and before overwriting the original file) you would uncompress it, and pass the name/path of the uncompressed version to the next part of the process.