Hi all,
Would some guru show me how to make my program update automatically thru the internet.
Are there any way the program will read the version of EXE on the net server , if the newer version found then download to the desk top of users and install ?
Thanks
Part one is a loader program that checks to see if there is a newer version of the exe on your FTP site or Web site.
It then copies the new exe if needed and then runs it.
You have to have two aprts because an exe cannot copy over itself.
Second if you are using FTP to transfer the exe, then you cannot read the version directly. What I do is create a small text file with the version # in it, my loader reads that and compares it with the existing exe if the text file has a higher number then it transfers the exe.
Most of the rest is pretty easy coding, there are a number of examples of how to ftp a file both in the VFP sample files and in other posts on this forum.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.