It's simply a file synchronizing program where you have couple of servers/files to sync. These files can be in different machines but they should be linked in one server as a shared folder.
Provides a background override operation with check to a database table consists of a path, sync status and publish time.
7-Zip.exe LICENCE
- 7zip: Needs to be downloaded and placed in bin\Debug or bin\Release folder with 7-Zip filename. The path to 7-Zip should look like ...\bin\Release\7-Zip or ...\bin\Debug\7-Zip
-
A database connection(can be SQLServer or MySql) and a table: The table that is used for file checks is named ApplicationSyncPath and its columns are as follows:
Field Name Type isSynced tinyint path varchar CreatedAt datetime UpdatedAt datetime ErrorMessage varchar Id int PublishTime datetime
- Download 7-zip either from FileHippo or from 7-Zip.org and install 7-Zip.
- Place your installed 7-Zip folder either in bin/Debug directory or in bin/Release directory of the project. Depending on which mode you are running your application in Visual Studio.
- Open the solution in Visual Studio, then from the menu Build > Rebuild Solution
- Open the bin/Debug or bin/Release directory of the project, and run LoadBalancerSyncronizer.exe
-
When application is launched, click on the buttons to setup paths of each directory.
Right click any button for overriding contents from main folder to target folder.

-
Override does not empty the target folder only overrides the files with the same name.

Main Dirbutton denotes, path to copy from.Override Dirbuttons are for overriding to those directories: First files are zipped into tar format, then copied in big chunks(4MB), then extracted at the target folder.
-
DB Settingsbutton is for those who want to sync server files from database.- Background operation is checking ApplicationSyncPath table every 10 seconds.
- It syncs paths of which isSycned property is set to false/0 and PublishDate property is over due.
-
Sync via Server Root Pathsbutton works as follows:TextBoxes are for server roots ie. C:\wamp\www.
- First textbox is your main server.
- It's relative paths ie /images/logo.png in ApplicationSyncPath table will be to copied to other textboxes' directories.
- Other TextBoxes are for your other servers root paths, to override to.
