FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour how to make an autoupdate program
Posts: 564
Joined: Thu Oct 13, 2005 09:23 AM
how to make an autoupdate program
Posted: Wed Feb 14, 2007 07:01 AM

Hello:
I want to make my programs autoupdate via internet. I've thought made a menu entry that allow the program connect an internet server and look for a new version of the program. I think the first thing I've to do in connect the FTP server and then download the new version if exist. But my doubt are in changing the old exe for the new one.

Anybody that has this implemented wants to share it ?

Regards,

Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
how to make an autoupdate program
Posted: Wed Feb 14, 2007 07:46 AM

I'm not sure whether this is what you're looking for but you can give it a try. http://www.fivewin.info/html/downloads. ... ons&id=288

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: how to make an autoupdate program
Posted: Wed Feb 14, 2007 11:25 AM
José Luis Sánchez wrote:Hello:
I want to make my programs autoupdate via internet. I've thought made a menu entry that allow the program connect an internet server and look for a new version of the program. I think the first thing I've to do in connect the FTP server and then download the new version if exist. But my doubt are in changing the old exe for the new one.

Anybody that has this implemented wants to share it ?

Regards,


Just use a second EXE. From you main EXE: run the second EXE and close the main EXE. Then download the new EXE and run it.

EMG
Posts: 310
Joined: Sun Jan 08, 2006 10:09 PM
how to make an autoupdate program
Posted: Wed Feb 14, 2007 03:48 PM

Friend

Use the FTP Class too. With FTP Class you can download the update in silince.

Continue the discussion