Documentation forServ-U File Server

Synchronize Folders

Synchronize Folders is a powerful feature of FTP Voyager. It allows you to synchronize or mirror two folders from two separate file browsers. This dialog is especially useful for updating web sites. It allows you to quickly remove, add, and update files; all with the push of a button.

To enable Synchronize Folders, two file browsers must be displayed side-by-side so FTP Voyager knows which folders are to be synchronized.

The dialog is split into different sections outlined below:

Source and Target Sections

The Source and Target sections represent the files and folders that are located within each corresponding folder. Both sections can represent either a remote or local folder.
These sections have a similar layout which is described below:

Synchronize When clicked, all actions within the corresponding listing are executed. The actions may result in:
  • Larger, Smaller, and/or Older files are uploaded or downloaded.
  • Source actions:
    • Not In Source, the file is uploaded.
    • Not In Target, the file is deleted.
  • Target actions:
    • Not In Target, the file is downloaded.
    • Not In Source, the file is deleted.
Remove Selected When clicked, all selected rows within the corresponding listing are removed. This provides greater control on what actions to include when the Synchronize button is pressed.
Ignore Older If checked, then older files are automatically removed from the corresponding listing.
Ignore Newer If checked, then newer files are automatically removed from the corresponding listing.
Ignore Orphans If checked, then files that are not found within the other folder are automatically removed from the corresponding listing.

Compare Section

The Compare section provides options that modify the routines used to compare the two folders.
Many options can be configured within the Compare section. These are described below:

Compare Click to manually start the comparison routines which fills in each listing with new results.
Compare Size If checked, the file size is checked.
Compare Time (Date and Time) If selected file dates and times are checked.
Ignore Case If checked, file names will be matched ignoring letter case.
Ignore Symbolic Links When selected, UNIX symbolic links will not be included in the folder synchronization process. In some cases UNIX symbolic links can cause FTP Voyager to synchronize a particular file or folder multiple times, reducing the efficiency of the process. In these cases you can avoid this problem by selecting this option.
Include Subfolders If selected, FTP Voyager also compares sub folders for differences.
Ignore Files If selected, files being compared may be automatically excluded from the results based on the provided filters. Filters can be specified within the Ignore Files By, Ignore Files Pattern, and Match on Full Path controls.
Match on Full Path If selected, FTP Voyager applies the Ignore Files Pattern to the entire path of a file instead of just the relative path starting from the root of the synchronization operation. For example, if the two folders being compared are C:\Sites\Customers\ABCCorp and /Inetpub/ABCCorp by default the pattern is only applied to paths below these two folders. Enabling this option applies the pattern to the full path.
Ignore Files By

Select the method you want to use for FTP Voyager to find files that should be ignored in the comparison and synchronization operations. The "Ignore Files Pattern" field is used to enter the pattern that should be applied. The following methods are supported:

Starting With Files that start with the pattern will be ignored.
Not Starting With Files that do not start with the pattern will be ignored.
Matching Wildcard Files that match the wildcard pattern will be ignored. The supported wildcard characters are: '*', '?', and character sets using "[]".
Not Matching Wildcard
  • Files that do not match the wildcard pattern will be ignored. The supported wildcard characters are: '*', '?', and character sets using "[]".
  • Matching Regular Expression Files that match the regular expression will be ignored. Regular expression support is provided by the CAtlRegExp class.

     

    Ignore Files Pattern Enter the pattern used to find matching files that should be ignored in the comparison and synchronization operations. The pattern is applied according to the selected Ignore Files By option.
    Delete Files If selected, FTP Voyager will attempt to delete files when synchronizing.
    Confirm Each Delete If selected, FTP Voyager asks for your permission to delete files. If not selected, FTP Voyager will always delete files that are part of this synchronize operation.
    Confirm Each Overwrite If selected, FTP Voyager asks for your permission to overwrite files when either an upload or download occurs.