Deletes files older than specified time from the file system.
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- folder
- Type: System String
Folder path
- olderThan
- Type: System DateTime
Limit time for deletion of a file
- deleteEmptyFolder (Optional)
- Type: System Boolean
Indicates if the specified folder should be deleted if there are no files left at the end
See Also