The new upload-service will automatically remove untouched files after some time (default refresh-time is 5 minutes)
While being ok for a lot of use cases probably this isn't a really nice solution in the long run.
Provisioning (i.e. empty methods called at the correct times) is foreseen to implement a heartbeat mechanism that will ensure the client/control keeps the data touched while the uploaded-file is sent over but the form is not yet submitted / handled finally.
Additionally there could be a natural setting for the file-upload-store to just survive not having any lease-service set (by just not expiring the received files) - in sync with the previous kauri-upload module (after which that module should be removed)
There are a number of work around's today:
- use that older kauri-upload service again
- increase the refreshtime in the lease-service conf/kauri-tmprsrc/upload.xml