
I want to know if there is a way to set the size of the bucket so that a user does not exceed its limit and to get that size later on. I want to simplify my checks on the file upload to limit users clogging up the storage. I could use a function to run a check on the files in a bucket and sum thier sizes but I am looking for a simpler way if possible.

nah you gotta use functions. Make a function that gets triggered on event when someone uploads a file. You will get the userId who triggered it and the file data. Save the data in a separate collection
Recommended threads
- Origin error after changing default port...
Hi! I need some help regarding an issue I’m facing with Appwrite after changing the default ports. I have a self-hosted Appwrite instance running on my VPS. I ...
- Opened my website after long time and Ba...
I built a website around a year back and and used appwrite for making the backend. At that time the website was working fine but now when i open it the images a...
- Is it possible to cancel an ongoing file...
When uploading a file to storage, is there a way to cancel the upload in progress so the file is not saved or partially stored?
