Open rullzer opened 5 years ago
It seems that (at least on Android) there is already support for this: we query quota-used-bytes and quota-available-bytes
Ah right. Yes we do. Then it is more about the max upload yes
Hm. Seems not that we are using it on Android at all. Can you verify that those values are set correctly on each folder, also shared, external, object storage, etc.? And since when this is working, then I can add it.
@rullzer please clarify which we have to check
I suppose this issue is still valid? If not, please close this issue!
We know fail in the backend if the proper total length is provided, even for chunks upload. I guess we can close?
Done
Check quota before uploading
Have new "max-upload-size"
I think it would make sense to introduce a webdav quota property. This would allow clients to check before they upload to a folder if there is enough space.
In a similar matte we could introduce a max-upload-size property for the clients to respect. Huge files (even if chunked) might timeout or put an unreasonable load on the server. So an admin might want to limit upload size to 1GB for example.
feedback: @icewind1991 @MorrisJobke @tobiasKaminsky @marinofaggiana @camilasan