Home > database >  Examples of the automatic update process
Examples of the automatic update process

Time:10-04

Examples of the automatic update program
Examples of the interpreter has to update the program automatically, can be downloaded in the local area network (LAN), can also download new application on a web server to a local update, thanks!

CodePudding user response:

LAN update is relatively easy, set the batch

Copy \ \ server \ \ directory file
Executable files

It is ok

CodePudding user response:

I have a local area network (LAN)
Principle:

1. Determine the modification time of the PBD, if close the modification time of the server copy, otherwise don't copy
2. Copy the complete (PBD) revealed considerable variation or no change to run your application directly

Note: after you modified PBD directly on the server

CodePudding user response:

FTP many ways on the network, see for yourself

CodePudding user response:

gz

CodePudding user response:

Are there any other ideas? Such as whether the update is successful, judged by judge file MD5 value, have a function?

CodePudding user response:

1. Need to update the PBD is put in the database,
2. The client retrieved after a new version called autoupdate program,
3. Update the local version to make it with the server version,

=====================================
Powerbuilder11 QQ group, please add: 6539042

CodePudding user response:

I also want to do this, and I don't want to use the database,
FTP, also don't dare to use, slow, too card, easy to break,
Web controls also has the function of the download file, but there's a lot of work to do to the specific implementation,
Pay attention to in...

CodePudding user response:

Pb have special tools to SYNC, responsible for synchronization software version.
  • Related