I am having difficulty saving a CSV list using the file function

Uploading: image.png…
Uploading: Captura de tela 2024-10-30 111444.png…

I am having difficulty saving a CSV list using the file function to save to the phone’s internal storage, it creates the folder with the file name but when accessed there is no file

Try to upload your screenshots again
Taifun

global exportar is
/Documents/past1/

Is that an if block? It helps to switch the language to English before taking a screenshot…
Use Do it to find out the result of the MakeDirectory method… is it true or false or something else?
Also your path in the SaveFile method does not really make sense

Taifun

ok but what should the block be like and what is the directory to save it in the cell phone files?

Set the file scope to Legacy and try the File.SaveFile block together with the following path
/Documents/myFile.csv

Taifun

created the folder but it is empty without the csv list file

code_app
If that’s the case, it won’t work


And first

Taifun


the first way the app creates the folder but without the content. It creates the test but without the file

ft-code-3
that way? Why isn’t it working?

you forgot to specify the correct path, for example
/Download/test.txt

You can’t store something in the root directory anymore

Taifun

I understand, but in which block would I have to put it?

obviously here in the fileName socket
unknown
Taifun