Closed mellonfarmer closed 3 years ago
app0 is read only.
Sorry, should have noted that I have also tried it with the full installation directory as well ux0:/data/appname/file
Assuming the base dir exists and the file exists (unless you're using FCREATE), it doesn't error.
Hi,
Not sure if it's a bug or i'm not using the command properly,
When using System.open with FWRITE, FRDWR, FCREATE gives error: cannot open requested file. the issues doesn't appear when using FREAD
sample:
toWrite = "Hello world" local fh = System.openFile("app0:/file.txt", FRDWR) System.writeFile(fh, toWrite, #toWrite) System.closeFile(fh)
error line 2
using Latest nightly build