You are viewing a plain text version of this content. The canonical link for it is here.
Posted to devnull@infra.apache.org by "Domvel (GitHub)" <gi...@apache.org> on 2018/08/23 15:14:51 UTC

[GitHub] [cordova-plugin-file] Domvel commented on issue #246: writeFile create path (deep) if not exists.

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 expected a 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.


[ Full content available at: https://github.com/apache/cordova-plugin-file/issues/246 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org