I have tried writing different functions to write files into folders on the sd card but I have had no luck. I am able to write to the sd card with writeebd, am I missing something to make folders and sub folders? im trying to orginize my data into file:/usr/sdext/year/month/file.csv
I’m not sure if it’s possible to create folders from the flexy, but you can definitely write and call to specific folders.
I’d recommend creating the folders in FileZilla like below
Then you should be able to write to the specific folders by using the code example below:
OPEN “file:/usr/sdext/year/month/CustomInt.txt” FOR BINARY APPEND AS 1
PUT 1,“Tag1” + “;” + STR$ Tag1@ + CHR$(13)+ CHR$(10)
If you want to send out data from the folder in an email see the code below:
Thank you again Tim