Hi everyone,
now i have the code to download an image from a remote server, and store it on app sandbox, but i need to move it to the app folder.
In the end of this link, there are one example to move an image from sandbox to app folder.
https://docs.coronalabs.com/guide/data/readWriteFiles/index.html
I am using it, but it don’t work. Other problem is that system.ResourceDirectory is the directory of the sandbox app, and the system.DocumentsDirectory is the app folder. But when i test it, it is the opposite, the system.ResourceDirectory refers to the app folder and system.DocumentsDirectory is the sandbox folder.
And because of that i can’t move my image.
Here is a link to the dropbox, pls check the small piece of code doing what i said bellow.
https://www.dropbox.com/s/vxfdxpagskps34b/DownloadFolder.zip?dl=0
Grettings