Error uploading 90MB file to closed Commons Group
I tried to upload a 90MB .wav file to the close Core 1 Commons Group (https://commons.gc.cuny.edu/groups/itp-core-1-fall-2017/documents/). The progress percentage went from 0 to 100%, and then the page reloaded, but the the file wasn't there. I tried refreshing the page, and it didn't make a difference. I have tried three times, and each time the same error. Using Chrome on MacOS. File is located here, if that matters: https://www.dropbox.com/s/tovcdgjrlfa843p/workshop-on-workshops.wav?dl=0
#3 Updated by Boone Gorges over 4 years ago
- Target version set to 1.11.11
Our server is configured to forbid uploads larger than 64MB. It might be possible to work with IT to increase this, but doing so will likely introduce other problems (both security issues and performance issues). So, in the absence of a regular need to upload files like this, I'd recommend against it.
I agree it's weird behavior to allow the file to be uploaded, only to be rejected without error. At the very least, we should show an error after failure. Better: show a notice when we detect that the file is too large, before attempting to upload. I'll take a look at this.
#4 Updated by Boone Gorges over 4 years ago
- File Screenshot_2017-08-30_15-26-19.png Screenshot_2017-08-30_15-26-19.png added
- Status changed from Assigned to Reporter Feedback
Here's a first pass https://github.com/cuny-academic-commons/cac/commit/d6e83e74e7d3e46596c5e4fd721722569a0062cb See screenshot.
When the file is larger than 50MB, the form is disabled, and the notice shown. It's reenabled and the notice is hidden when the file is small enough. Does this seem OK?