Copying File from Download Folder to ASD

Hello, good afternoon.

I'm trying to copy a file called "contactos.txt" from the Download folder to the Application Specific Directory using Taifum File Extension, but it's giving a permission error. I tried "Read_External_Storage" and "Write_External_Storage", but nothing worked.

image

image

Red this Some basics on Android storage system and use SAF

Taifun

2 Likes

Where does this (non-media) file come from? If it is not created by the app itself you must use SAF to access it.

See also here: How to access non-media & media files on Android 11+.

1 Like

Thank you very much!

I just need to call the copyfile method, or do I need other methods?

image