Thanks for fast response. 🙂 I'm on Android with Ionic Angular. The example you posted is confusing and does not work in my case.
I want to write a file to the path `subfolder/another/file.txt` on sd storage path `externalDataDirectory` (see my first post). Btw. when I create the path manually on the sd card, it works. So the writeFile method and the directory works. The only failure is to create the path `subfolder/another` on `externalDataDirectory` if not exist. I want this result: Before: `<sdcard>/Android/data/<app-id>/files` After: `<sdcard>/Android/data/<app-id>/files/subfolder/another/file.txt` (externalDataDirectory == `<sdcard>/Android/data/<app-id>/files`) I expected an option for writeFile to create this (deep) path. Or check if this directory and create it manually by the existing methods of this plugin. But nothing worked so far. The documentation is not the best I ever seen. ;) [ Full content available at: https://github.com/apache/cordova-plugin-file/issues/246 ] This message was relayed via gitbox.apache.org for [email protected]
