Write and read a TXT file

Hi! :slight_smile:
I have an app for writting and reading an txt file.
I would like to write and read from a shared directory as Download or images.
The procedure I use don´t work. Could you tell me why? What could be wrong?
Thank you and have a nice day! :slight_smile:

Link to blocks

Please download and post each of those event block(s)/procedures here ...
P.S. These blocks can be dragged directly into your Blocks Editor workspace.

See Download Block Images for a demo.

  1. Non-media files can only be written (saved, accessed) in one of these 2 Shared folders on Android 11+:
    /Download or
    /Documents

  2. The File component incorrectly requests storage permission for the Shared folders on Android 11+ as well. (To avoid this, you can use my MFile extension.)

  3. The Sharing component needs an absolute or full path.

I have discussed all questions / problems in this regard in detail in many posts. Please search the forum first (next time). In addition, post all relevant blocks.