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
- I'm getting error Invalid `url` param: I...
``` 2025-10-26T12:52:02.292Z [error] AppwriteException: Invalid `url` param: Invalid URI. Register your new client (vercel.com) as a new Web platform on your pr...
- Unknown column 'sourceSize' in 'field li...
After migrating from 1.6.1 to 1.7.4 I noticed this message in the logs: `appwrite-worker-stats-resources | 2025-10-26T10:32:38.289577112Z Failed: SQLSTATE[...
- Invalid document structure: Missing requ...
After migrating from 1.6.1 to 1.7.4 I noticed this message in the logs: appwrite-worker-audits | 2025-10-26T11:15:24.062537020Z Error processing a...