Scheduling cleanup of upload files and preview files
By default, the Content Manager does not clean up files that users upload to Content Manager, nor files that Content Manager generates when users preview content. Schedule regular cleanups of the folders that contain those files, which default to web\WebUI\WebRoot\Upload and web\Preview.
Procedure
- Identify the folder in which Content Manager stores uploaded files.
- By default, this folder is the web\WebUI\WebRoot\Upload subfolder of the Content Manager root location, which defaults to C:\Program Files\Tridion\ or C:\Program Files (x86)\Tridion\.
- You may have configured a different location in the
<Tridion.UploadDirectory>in the file System.config, located in the web\WebUI\WebRoot\Configuration subdirectory of the Content Manager root location.
- Create a Windows scheduling task that regularly wipes this folder. Choose a moment of low system activity to perform the wipe, and choose a frequency based on your expectations of how often users will upload files, and how large these files will be.
- Identify the folder in which Content Manager stores files generated during previewing.
- By default, this folder is the web\Preview subfolder of the Content Manager root location, which defaults to C:\Program Files\Tridion\ or C:\Program Files (x86)\Tridion\.
- You may have configured a different location in the General settings screen of the Content Manager configuration environment (MMC Snap-in).
- Create a Windows scheduling task that regularly wipes this folder. Choose a moment of low system activity to perform the wipe, and choose a frequency based on your expectations of how often users preview content.