Creating folders in the sd card


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


Hi Lucas,

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:

Function createdoc()
OPEN “file:/usr/sdext/year/month/CustomInt.txt” FOR BINARY APPEND AS 1
PUT 1,“Tag1” + “;” + STR$ Tag1@ + CHR$(13)+ CHR$(10)
print “created”

If you want to send out data from the folder in an email see the code below:

writing and exporting from folders.txt (1.2 KB)


Thank you again Tim :partying_face::partying_face::partying_face: