First you have to create your exe in two parts.
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.