Home > database >  LAN automatically update
LAN automatically update

Time:09-19

Want to have a to update the program automatically, C/S, requirements: not Shared server; Across a network segment;
Do you have any good Suggestions

CodePudding user response:

I provide a train of thought, you put the update file and the version number uploaded to the server, the client detect whether there is a new version number when it is open, so it is good to automatically download,


That is what I do software implementation, SiWuShiTai client fully automatic update, very convenient, across a network segment is no problem,

CodePudding user response:

The client program file is not big, can be placed in the database,
Larger can use FTP

CodePudding user response:

Our program is in the database, more than 100 M file, download the client have 30 to 40 minutes, the Internet client time longer,
Just add file compression, reduced to one over ten of the original, speed can be faster,
Now the question is often stuck interface, progress bar, such as the last suddenly jumped to 100%,

CodePudding user response:

I was in the database,

CodePudding user response:

In the database, storing blob, before storage, can get the total file size

Client automatically update, by writing the size of the local file BLOB and total file size compare to display the progress bar,

This progress bar is reasonable,

CodePudding user response:

Reference:

<script SRC="https://code.csdn.net/snippets/63729.js" & gt; </script>

<script SRC="https://code.csdn.net/snippets/63730.js" & gt; </script>

CodePudding user response:

FTP mode
HTTP
Put the binary file to the database

CodePudding user response:

reference zhangyangziwo reply: 3/f
our program is in the database, more than 100 M file, download the client have 30 to 40 minutes, the Internet client time longer,
Just add file compression, reduced to one over ten of the original, speed can be faster,
Now the question is often stuck interface, progress bar, finally suddenly jumped to 100%, such as

So card? Feeling inside the database didn't how long ah 100 MB

CodePudding user response:

reference 1st floor ljxsea response:
I provide a train of thought, you put the update file and the version number uploaded to the server, the client detect whether there is a new version number when it is open, so it is good to automatically download,


That is what I do software implementation, SiWuShiTai client fully automatic update, very convenient, across a network segment is no problem,

Certainly must in the Shared folder or use the FTP server

CodePudding user response:

If use pb11 above, can use Smart Client, very convenient

CodePudding user response:

Write a progress bar, to create a thread alone, or is certainly want to get stuck,
  • Related