Hi!
I’m creating a file and i need to save inside a folder but wen i execute the createWriter() and close it, it’s automatically downloads on bowser. Is there a way to make it works as processing do?
function preload(){
czml = createWriter('gps.czml');
}
function setup(){
czml.print('blabla');
czml.close();
}
the project / code is on the server,
when the browser starts it downloads the HTML and that code
and executes it after it finds it in the index.html <script src="sketch.js"></script>
ALL ON YOUR COMPUTER.
and in your computer RAM create something ( text picture… ) by your script
and when you want to save, it asks you where on you computer?
but FROM RAM,
nothing of this happens at the server side…
so no, saving to server is not possible, must upload later.