THE INFORMATION IN THIS ARTICLE APPLIES TO:
- EFT Server version 6.1 and later
How does EFT Server determine a file's age for the Event Rule file cleanup?
The Clean up in Folder Action is available only with the On TimerServer event. At the interval that you specify, EFT Server compares the filter parameters of the Cleanup Action to the files in the designated folder, then determines the creation or modification time of the file and deletes ("cleans up") files that match the cleanup parameters. For example, if you specify to cleanup files that are older than 7 days named dailyreport*.doc in the folder D:\WorkFolder\Sales\Daily Reports, any Microsoft Word files in that folder with dailyreport in the file name are deleted after 7 days. However, if you create a cleanup action and set a file to be cleaned after 7 days, but then modify the file on the 6th day, the file will not be deleted until 7 days after the modification date.
In EFT v7.4.13 and later, the cleanup options can be set in the administration interface.
Starting with EFT Server v6.1, EFT Server will check both the CREATE DATE and the MODIFY DATE of a file when determining the file's age for the Event Rule file cleanup. You can change that in the registry:
64 bit: HKEY_CURRENT_USER\Software\Wow6432Node\GlobalSCAPE\EFT Server 3.0\
32-bit: HKEY_CURRENT_USER\Software\GlobalSCAPE\EFT Server 3.0\
For v6.4 and later:
64 bit: HKEY_LOCAL_MACHINE\Software\Wow6432Node\GlobalSCAPE, Inc.\EFT Server 4.0\
32-bit: HKEY_LOCAL_MACHINE\Software\GlobalSCAPE, Inc.\EFT Server 4.0\
Create the DWORD CleanupDateType and specify one of the following values:
The following values can be used to control which date is used in the comparison:
- 0 - Create Date and Modify Date (this is also the default if the key is not present)
- 1 - Create Date
- 2 - Modify Date
For more information about the Cleanup Action, refer to "Clean-Up Action" in the help documentation.