There are various ways to setup File Retention Policies in your Hosted~FTP~ account. Please see our examples below for example scenarios:
This simple setup deletes all files in every folder, including subfolders, that are older than 30 days.
This setup deletes all files in every folder, including subfolders, with the specific file extensions .CSV, and .PDF that are older than 60 days.
This setup deletes all files in a specific folder path after 90 days. Please note that the “include subfolders” option is not enabled.
This example scenario includes folder paths with spaces while excluding a sub-folder. Please note that you can use “\s” as a regex expression to recognize a space. For this example, the folder path is /Finance Department/Inbound/ where we replace the space as: /Finance\sDepartment/Inbound/. The sub-folder to not include in the policy is /Client B, which we input as /Finance\sDepartment/Inbound/Client\sB/.