I create a file with ripple emulator successfully at this path:
fullPath: "/myAppFolder/myFile.txt"
This is the code:
filesystem.root.getDirectory("myAppFolder", {create: true, exclusive: false}, function(dir){
dir.getFile("myFile.txt", {create: true, exclusive: true}, function(file){console.log(file);}
,function(error){console.log("error create file: "+error.code+":"+error.message);}
);
}
, function(error){console.log("error create dir: "+error.code+":"+error.message);}
);
Also where can I see this file? Is it on the hard drive?
from Where does ripple emulator create files?
No comments:
Post a Comment