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
- AppwriteException - Transaction with the...
I am using "node-appwrite" module and I have successfully created transaction id but when passing it to tablesDB.createRow function with some other required dat...
- Cannot create cloud function due to this...
As I try to deploy a new function to Github I get this error message: ``` Unable to clone code repository: fatal: ' ' is not a valid branch name hint: See `man ...
- How to use TS for creating appwrite func...
I was making a few appwrite functions but on doing the appwrite init setup process i always got main.js. Is there any way i can use TS?