I need to copy text files from the Download folder to a folder created by the application in DirInternal and then read them
If you need this, my code will do the job, but you have to do it manually.
If you want it to be done automatically, that is another story.
So, if your text comes from your host, just download and save it on this path.
rp.CheckAndRequest(rp.GetSafeDirDefaultExternal("name a folder"))
After that, practically you can do anything with that file.
But from the download folder, the user must choose that.
Which you have to copy on the Path that you created. After that, practically you can do anything with that file.
Let me explain what exactly I am proposing here:
So you choose your file from internal storage with this code and copy that in your folder that is accessable:
cc.Show("*/*", "choose a file")
Wait For cc_Result (Success As Boolean, Dir As String, FileName As String)
Dim Path As String=rp.GetSafeDirDefaultExternal("your folder name")
File.Copy(Dir,FileName,Path ,"anyname with any format will do the job")
This was for manually for automatically I believe is even easier with OkHttpJob2
Just before doing anything of this use RuntimePermissions to create Path so be existed(I use it when I want to get notification PERMISSION from user)