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
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...