
-
Home > Advanced Scheduled Synchronization with TurboFTP
- Advanced Scheduled Synchronization with TurboFTP
1. Concepts Source and DestinationThe source and destination folders are defined based on the synchronization direction. For example if the sync direction is Download, the remote folder is the source folder, and the local folder is the destination folder. 2. Synchronization Schemes![]() Synchronization Schemes define how TurboFTP chooses files to transfer after the file comparision is done. We will explain each of the available Synchronization Schemes in TurboFTP by examples. 2.1 Add only new files to destination Only transfer new source files. EXAMPLE 1: Only transfer new source files. No file time stamp comparison is involved.
EXAMPLE 2: Under this scheme TurboFTP will compare local and remote file time stamps. In this example, the local file root.txt exists at local and at remote and the local copy is newer. After the synchronization, the local copy of root.txt is uploaded while test.php is not.
2.3 Update and add new files to destination EXAMPLE 3: the local copy of root.txt is newer and after synchronization it is uploaded. In the local folder has test.php which the remote destination folder doesn't have, therefore test.php is uploaded as new file. Before action:
After action:
2.4 Update, add new and remove unique files at destination Transfer new source files and updated source files that overwrite old copies in destination folder and remove orphan files in destination folder. Unique/orphan files are files that exist at destination but not at source. EXAMPLE 4: Note that 'have.rar' at remote doesn't exist at local as is seen as a unique file. Therefore it is removed after the action. Before action: ![]() After action: ![]() 2.5 Transfer files added or updated since last sync Compare time stamps of source files with last run time of the task, if it is newer then transfer them to destination. With this scheme, file size comparison is not applicable. The first time the task runs, all source files will be transferred since there is no valid 'last runtime'. EXAMPLE 5: After the 1st excution of task:
Then root.txt is modified and the task is executed again. This time the file 'test.php' is uploaded because its time stamp is newer than the last run time.
After action:
Transfer all files in source folder overwriting any existing files at destination. EXAMPLE 6: as illustrated below, all files are transferred regardless whether the destination folder has them or not. Before action: After action:
Transfer all files in source folder overwriting any existing files at destination. Remove orphan files in destination folder. This is an option for 100% mirroring without caring about the result of file comparisons, in terms of either file time or file size, between both sides. EXAMPLE 7: Before action: the orphan file 'have_no.rar' at destination is removed after the action.
After action:
|
- Tutorials
- Copyright © 2008-2013 TurboSoft, Inc.




























