
I am attaching a code snippet here. Is it possible to run this on appwrite

Don't think so As your function will run inside an isolated open-runtime environment with no access to any Docker socket.

F

Ok so i have a question

If i run an appwrite function and save a file in the file system of the isolated run time given by appwrite. Once the function is over will that file be saved

Or once the function is over it's a fresh start

The file will be saved as long as the function run time is active. Once the function threshold is over - usually up to 61 minutes - them the container will get delete and that's include all the files you've created in the process.
To mitigate this issue it's recommand to create and use file using Appwrite storage module

thank you for your help. I found a solution
Recommended threads
- Cutsome Domain Setup issue
when i adding custom domain on project settings its showing verification failed, even though i add dns on my name.com
- Problems following https://appwrite.io/b...
To me it is unclear what the author means when he writes "Please note that the Appwrite instance should be shut down". I am using docker. What exactly am I supp...
- SDK mismatch
Hi there, The following warning is currently appearing in my console: ``` Warning: The current SDK is built for Appwrite 1.8.0. However, the current Appwrite...
