Files Are Missing From the Destination
Issue
Syncs complete without errors. However, some files are missing from the destination.
Environment
Connector: SFTP
Resolution
To resolve this issue, remove and re-upload the affected file(s) to your SFTP server. Alternatively, you can update the file's timestamp value that reflects when it was last modified by doing the following:
- Open the command line in a terminal window
- Change to the directory of the folder containing your affected file(s).
- Update the timestamp value of the affected file(s) using the following command:
touch _filename.extension_
- Alternatively, update the timestamp value of all files in the folder using the following command:
touch -c ./*
Cause
This issue occurs when you move files to your source folder after a sync. During each sync, we use a timestamp cursor to determine when we last synced each file in a folder, then sync files created or modified after the cursor value. However, the timestamp value reflecting when you last modified a file doesn't update when you move it to a new folder. As a result, when you move a file, the change won't be reflected in your destination until you modify it or re-upload the file to the folder.