Mobile app - save data on specific cordova folder


I want to use local http server cordova plugin. However I have doubts of how to add dynamic data to served html page? Files should be saved in specific plugin directory. Is there any way to do it?

If not I will try to hardcode redirect to some of screens.

I will appreciate any ideas.


Hi Mykola,

I tried this with a plugin that allowed setting the root directory, so I could save files in a specific folder and serve them from there. I used this plugin for httpd and the file plugin to save the files to a specific directory.

Would that work for you?