What is synchronization?
In general, synchronization means arranging the items in a master set and a target set so that the items in each set exist in parallel, occur simultaneously, or operate in unison.
For developers of non-Java- and non-Web-based applications, synchronization means keeping your users' application files (the target set) up to date by giving your application the ability to automatically refresh itself with the latest files (the master set). Having the ability to synchronize applications means you don't need to deploy maintenance releases. When users run the target application, updated master files are copied to the appropriate locations.
Synchronizer description
The Synchronizer (Sync for short) is not a single tool. Sync is functionality with a runtime environment (an EXE and an ActiveX) and a development environment. When Sync runs, it:
- Looks immediately for a command-line instruction or a reference to a Sync data file containing instructions.
- Looks at the master files in the locations you specify.
- Compares the master files to the target files in the locations you specify by checking date/time stamps, sizes, and version information embedded in EXEs and DLLs.
- Copies or downloads the changed or nonexistent master files to the specified locations.
- (Optional) Runs a program if such instruction is provided in the Sync data file.
Sync can synchronize files from these sources:
|
Source
|
Example
|
|
FTP
|
FTP://FTP.POWERSOFT.COM
|
|
Local drive
|
C:\DIRECTORY\FILENAME
|
|
Server on the network
|
\\GUTTENBERG\COMMON\FILENAME
|
Sync's Components
Sync has three components:
|
Sync component
|
Filename
|
What you do
|
|
Sync runtime executable
|
SYNCRT.EXE SYNCRT16.EXE
|
Run the Sync runtime executable with one synchronization command or with a reference to a Sync data file
|
|
Sync Builder
|
SYNC.EXE
|
Run Sync Builder and use it to:
- Create a Sync data file
- Execute the instructions in the file
- Run an application automatically after synchronization is completed
|
|
Sync ActiveX
|
SYNC.OCX
|
Add the Sync ActiveX to a PowerBuilder window (or a window built with another development tool) to synchronize from the application or Insert the Sync ActiveX in an HTML page to synchronize from a Web page
|
|