Is there a way to limit the number of files a user can upload? I know there's a limit of file size but in my case I'd like to limit the user to only upload x amount of files, I tried to achieve this using a function but found out you can't send binaries over appwrite functions due to their syntax. Is there any way to do this within appwrite or would I need to make a service outside of appwrite to do this?
Currently it's not possible. Feel free to give a 👍 to this GitHub issue: https://github.com/appwrite/appwrite/issues/5955
Meanwhile you can use functions, but the main issue will be the body limit, so it won't be possible to send big files. Alternatively you could just allow users to upload the file and then add a limit or count after the upload happens.
Recommended threads
- DeploymentStatus enum value `canceled` m...
Hey, Sorry if it has been reported already, I found an issue using the Dart SDK where the `canceled` enum value is missing from `DeploymentStatus`. This causes...
- payment
I’ve never used this service. I remember signing up a long time ago but completely forgot about it. I’ve been receiving emails, but since the payments were fai...
- Synchronous function execution timeout w...
I am calling server functions with xasync = true and I still get this error message. Synchronous function execution timed out. Use asynchronous execution inste...