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?
czml = createWriter('gps.czml');
it looks like that, but actually it is not.
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
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.