Steps to reproduce:
Create a new project
Add a file on the right pane, any file.
'This returns True:
File.Exists(File.DirAssets,"YourFileName")
'This fails
File.Copy(File.DirAssets,"YourFileName",File.DirExternal,"YourFileName")
Says something like:
/sdcard/YourFileName File Not found (strangely returning the target filename and not the source filename)
All i'm trying to do is copy a native linux executable to a temp dir where I can give it execution rights, then run it as a shell command. My command works fine if i do all of this from the shell manually.
Create a new project
Add a file on the right pane, any file.
'This returns True:
File.Exists(File.DirAssets,"YourFileName")
'This fails
File.Copy(File.DirAssets,"YourFileName",File.DirExternal,"YourFileName")
Says something like:
/sdcard/YourFileName File Not found (strangely returning the target filename and not the source filename)
All i'm trying to do is copy a native linux executable to a temp dir where I can give it execution rights, then run it as a shell command. My command works fine if i do all of this from the shell manually.