File upload expiration
Prev | Chapter 6. HTTP File Upload component | Next

## File upload expiration

From time to time it is required to remove expired file to make place for new uploads. This is done by the `expiration` task.

Available properties:

expiration-time
  How long the server will keep uploaded files. Value in Java Period format (default: P30D - 30 days)
period
  How often the server should look for expired files to remove. Value in Java Period format (default: P1D - 1 day)
delay
  Time since server start up before the server should look for expired files to remove. Value in Java Period format (default: 0)
limit
  Maximum number of files to remove during a single execution of `expiration`. (default: 10000)

Prev | Up | Next
Logic | Home | Examples