I need to find a way how to create files from specific folder in Internal Storage of my device to a specific folder in External Storage.
Example :
- I have 50 image files in
data/data/app_package/files/documents/server/userId/storage/in Internal Storage. - I want to copy all of the files in that directory to
/sdcard/Documents/Server/UserId/Storage/
And the idea is that in some cases maybe I’ll have to move files like 50MB and maybe more. Any suggestions how can I achieve this?
try this code