I am building a Dart function, Where I have to open a CSV file inside a folder timetables the timetables folder is inside the root folder similar to the lib folder. I have added the timetables folder to pubspec.yaml. When I call the main() function without the AppWrite context, I can read the files from the folder when deployed AppWrite throws an
PathNotFoundException: Cannot open file, path = '/timetables/1_bca_a.csv' (OS Error: No such file or directory, errno = 2)
How do I access the files and folder that are not inside the lib folder and are not dart files.
Recommended threads
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...