Hi to all
I proceed with the tests, but just to learn and try something different, I have never seriously developed webapplication (the time available is always short)
The function File it's not used by BANano, then for write and read a file map (in Dir.App or other path) how can i proceed?
I don't know if you need to transform it into json format and write/read it with inlinephp.....
Some simple examples, thanks.
File, as it is known in B4X, will never be available in BANano, as Web Browsers do not have access to the local disk without user intervention (a very good thing!)
File, as it is known in B4X, will never be available in BANano, as Web Browsers do not have access to the local disk without user intervention (a very good thing!)
Ok clear enough, thanks.
but I don't have to choose the file with fileExplorer, I already know the path, so I have to access it directly
but I don't know how to provide the path to BANano
Example:
File "settings.cfg" in BANano.ASSETS_FOLDER
This is correct. As I said, without user interaction, a web brower/javascript is not allowed to access anything on your local hard disk. This is browser build-in security so no one can access your private files.
But then this of course means your config.cfg is for grabs for anyone just by putting an url to the file in their browser. If your config.cfg contains sensitive data, it will be readable by anyone.
But then this of course means your config.cfg is for grabs for anyone just by putting an url to the file in their browser. If your config.cfg contains sensitive data, it will be readable by anyone.