This project is no longer maintained and no further public releases are planned.

No further support will be given.

Feel free to fork the git repository.

PreProcessor_ClearTempFiles

Clears temporarily uploaded files older than the specified time.

Version added

1.0.0

TypoScript path

plugin.Tx_Formhandler.settings.preProcessors.x copy to clipboard

Example code

preProcessors {
    1.class = Tx_Formhandler_PreProcessor_ClearTempFiles
    1.config {
      clearTempFilesOlderThan {
	  value = 24
	  unit = hours
      }
    }
}

Properties

.clearTempFilesOlderThan.value

The time value.

Data type

Integer - cObj

Version added

1.0.0

.clearTempFilesOlderThan.unit

The unit of time. Values may be minutes, hours or days

Data type

String | cObj

Default value

hours

Version added

1.0.0