Question
Hi,
I'm using chunked uploads and I would like to stop the upload process when the file maxsize has been reached.
Currently my ValidationListener check the filesize and if it's greater than eg 1GB , I delete the file and throw a ValidationException.
But the ValidationListener is only triggered when all the chunks has been uploaded. It may be a critical issue : if a user upload a 100Go file, my server storage will be completely full.
The 'max_size' set in the oneup_uploader.yaml mapping is also triggered after all the chunks has been uploaded
How can I resolve this problem ?
Thanks