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
- dart appwrite 16.2.0 throws errors
Hi there, I just updated to 1.7.4 and also wanted to update the dart appwrite sdk to fit the appwrite version I am using now. So I updated to 16.2.0 and get th...
- Server error on multiple requests
Hi there, I've updated from 1.5.7 to 1.7.4. I am using meilisearch for indexing and have therefore a dart script which syncs the appwrite data to meilisearch in...
- server error github after upgrade to 1.8...
I got the error Error 500 Server Error general_unknown can not connect to github