Closed suddenelfilio closed 5 years ago
Is there a way to limit the file size of the uploaded files before they get uploaded? So I want to block files larger than a certain limit.
There is no easy way to do this, because the file size isn't known until the upload is complete. The only thing you can try to do is to abort the PUT command when the file size exceeds a given threshold.
Is there a way to limit the file size of the uploaded files before they get uploaded? So I want to block files larger than a certain limit.