cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <>
Subject [jira] [Commented] (CB-5899) FileError code 5 returned with dirEntry.readEntries()
Date Wed, 05 Feb 2014 15:18:10 GMT


Ian Clelland commented on CB-5899:

That sounds like it's working as intended -- Using Internal means that you're asking Cordova
to put files in a different directory now, so I'm not surprised that you wouldn't see any
files there. It won't (in fact, it can't) move your existing files from the SD card to the
internal storage location.

> FileError code 5 returned with dirEntry.readEntries()
> -----------------------------------------------------
>                 Key: CB-5899
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin File
>    Affects Versions: 3.3.0
>         Environment: Android 4.1, Android 4.4
>            Reporter: Boston Dell-Vandenberg
>            Assignee: Ian Clelland
> When attempting to read entries of a DirectoryEntry from the local file system the plugin
returns an FileError code 5.
> I am able to successfully read the root directory of the local file system using window.requestFileSystem()
but creating a directoryReader and calling readEntries() of any sub directories of the root
file system results in the error.
> I am using Cordova 3.3 and have tried both 0.2.5 of the file plugin as well as the current
Dev branch.

This message was sent by Atlassian JIRA

View raw message