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
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...
- Error trying to deploy functions from CL...
✗ Error • on-auth-create (6a00b2ab000c9ce2949b) • Server Error ✗ Error: No functions were pushed. Prject ID: 69ffe0270033a4ac420a
- Intermittent Deploy and Execution Errors...
Project: project-fra-658e2f5f4ba30df91177 Function ID: 69bde006001c56757f49 **Several execution errors with:** Timed out waiting for runtime.\nError Code: 400...