You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Q
A
Version
4.0
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: