Simulator FileSystem api bug

Thread is closed for posting
2 posts, 0 answers
  1. Odinko
    Odinko avatar
    7 posts
    Member since:
    Jul 2014

    Posted 10 Aug 2014 Link to this post

    DirectoryEntry GetFile method ( should accept both relative and absolute paths. However it currently it only accepts the file name:
    // root path = "c:/Users/user/Documents/Telerik/Icenium/Simulator/Storage/Temporary/
    1) This works if i put the file directly in the root:
    filesystem.root.getFile( "myFile.txt " ... )
    2) This doesn't work - i put file in a subfolder:
    filesystem.root.getFile( "mydir/myFile.txt " ... )
    3) Absolute path doesn't work as well:
    filesystem.root.getFile( "c:/Users/myuser/Documents/Telerik/Icenium/Simulator/Storage/Temporary/mydir/myFile.txt " ... )
  2. Zdravko
    Zdravko avatar
    657 posts

    Posted 13 Aug 2014 Link to this post


    We are aware of this bug in the Simulator related to the File API and we have it logged for further investigation.
    Notice that the create flag of the getFile method does not work properly either, but only in the Simulator.
    Please accept our apologies and stay tuned for the fix.
    Thank you.


    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

Back to Top