
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
- Need help setting up this error is showi...
You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy. If you're the app developer, register the redirect URI in the Google Cl...
- Direct Upgrade from Appwrite v1.5.11 to ...
I'm on Appwrite v1.5.11. Can I upgrade directly to v1.6.2?
- Appwrite stopped working, I can't authen...
I'm having an issue with Appwrite. It was working fine just a while ago, but suddenly it stopped working for me and can't authenticate accounts. I even went bac...
