Knowledge Base

Home > Features > Synchronization

Created 12 May 2004
Modified 29 Nov 2014

Article 190


To synchronize (one way) local files with remote files and vice verse by matching names and content.

SmartFTP allows you to control the action taken when synchronizing files with matching names when using the Transfer Queue. By enabling the Integrity Check option (File exist action based on the comparison between hash values, under File Exist Queue), the destination file will be compared against the source file based on content using hash values vs. i.e. size, time, etc. If the content of the destination file is the same, the file is left unchanged. If the content of the destination file is different, the transferring file replaces the destination file. Otherwise, if the Integrity Check option is left unchecked the default File Exist Rules will be used. Though the Integrity Check option is recommended you can edit the File Exist Rules based on your needs. Also, not all servers support the Integrity Check option in which case one way synchronization has to be done using the File Exist Rules. For more information about the File Exist Rules please see the following Knowledge Base article:
KB: File Exist Rules

Synchronization Methods
Currently two synchronization methods are supported. To change the synchronization method, select the item(s) in the Transfer Queue. Then right-click on the selection and select Properties from the context menu. In the Properties dialog you can select the desired Synchronization method.

The following example shows how to synchronize the contents of a local folder with the contents of a remote folder.

Preparation: Settings

  1. Go to the Favorite properties
  2. Go to the Transfer - File Exists dialog.
  3. In the File Exist dialog under File Exist Queue you can enable the Integrity Check by checking the option "File exist action based on the comparison between hash values" or edit the File Exist Rules for the selected Favorite.
  4. If the Integrity Check is left unchecked, SmartFTP will use the default File Exist Rules for the synchronization.
  5. From the Favorite Properties dialog menu (on the left side), under the Transfer option select Integrity. Check that the Transfer Integrity option is enabled. The Transfer Integrity is enabled by default as specified on the Default Favorite Settings.
  6. Click on the OK button to save the changes.

Queue Files/Folder

  1. Connect to the server by opening a new remote browser
  2. Open a Local Browser. Menu: File - Local browser
  3. Select the files on the local folder that you wish to synchronize with the remote folder. Drag the files from the Local Browser and drop them into the remote folder in the Remote Browser.
  4. The files/folders will be added to the Transfer Queue
  5. To change the synchronization method right-click on the items in the Transfer Queue and select Properties from the context menu.
  6. Start the Transfer Queue.

Tip: You can use the Schedule feature in the queue item properties for recurring synchronizations.

Requirements for FTP Server
MLST/MLSD (time in UTC)
MDTM (with extension to set date and UTC time)

synchronization,file exist,integrity check