LAN automatic updates

Want to do an automatic update, C/S. Requirements: do not share on the server can cross segment;,
You have good suggestions

Started by Bart at February 09, 2016 - 3:12 PM

I provide a train of thought, you take and version update file upload to the server, the client opens to detect whether there is a new version, available automatic download is good.


I do software is realized, automatic update forty or fifty client, very convenient. Inter segment is also no problem.

Posted by Bonnie at February 20, 2016 - 3:38 PM

The client program file is small, can be put in the database.
The point can be used FTP

Posted by Michael at February 25, 2016 - 4:33 PM

Our program is in the database, 100 M file, download the client 30-40 minutes, longer Internet Client.
Just add the file compression, file is reduced to the original 1/10, the speed can be faster.
The question now is often the death card interface, the progress bar does not move, and finally jumped to 100%.

Posted by Carter at March 09, 2016 - 4:45 PM

I was put in the database implementation.

Posted by Jessee at March 10, 2016 - 5:18 PM

On the database, to store the blob types, storage, can get total file size

When a client automatic updates, the BLOB type write size local files and total file size compared to the progress of the show,

The progress bar is reasonable.

Posted by Sandra at March 11, 2016 - 5:59 PM

Reference resources:

<script src="https://code.csdn.net/snippets/63729.js"></script>

<script src="https://code.csdn.net/snippets/63730.js"></script>

Posted by Sandra at March 12, 2016 - 6:14 PM

FTP
Http
Binary files to the database.

Posted by April at December 14, 2016 - 2:10 PM

This card? Feel 100MB in the database there is no long ah

Posted by Edmund at December 29, 2016 - 2:12 PM

Have a shared folder or use FTP on the server

Posted by Bart at January 08, 2017 - 2:51 PM

If you use pb11 or later, you can use the Smart Client, very convenient

Posted by Steven at January 11, 2017 - 2:18 PM

Write a progress bar, is going to create a thread. It is sure to get stuck.

Posted by Keith at January 13, 2017 - 2:33 PM