You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "brian johnston (JIRA)" <ji...@apache.org> on 2014/04/25 22:59:22 UTC

[jira] [Comment Edited] (CB-6518) Unable to create directory on Windows 8

    [ https://issues.apache.org/jira/browse/CB-6518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13981576#comment-13981576 ] 

brian johnston edited comment on CB-6518 at 4/25/14 8:59 PM:
-------------------------------------------------------------

In other words, I need to create the directory in the documents folder that is visible from Windows File Explorer and move files into it and read files from it.  At this point I've tried to use the FileEntry object returned from fileSys.root.getDirectory(toFolderName,
{ create: true, exclusive: false }, but no-go with that yet.  As a work around I built the directory crawler app to try to crawl into the directory from the root of the persistent file system, but I'm stuck in the shared folder of the isolated storage at this point.  How can I get to the "Documents" folder so the user can see and use the files?


was (Author: briankj):
In other words, I need to create the directory in the documents folder that is visible from Windows File Explorer and move files into it and read files from it.  At this point I've tried to use the FileEntry object returned from fileSys.root.getDirectory(toFolderName,
{ create: true, exclusive: false }, but no-go with that yet.  As a work around I built the directory crawler app to try to crawl into the directory from the root of the persistent file system, but I'm stuck in the shared folder at this point....

> Unable to create directory on Windows 8
> ---------------------------------------
>
>                 Key: CB-6518
>                 URL: https://issues.apache.org/jira/browse/CB-6518
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows 8
>    Affects Versions: 1.9.0
>            Reporter: brian johnston
>            Assignee: Jesse MacFadyen
>
> No error is returned from "fileSys.root.getDirectory("Foo",{ create: true, exclusive: false },..".  However, the folder is not visible on the phone file system.  To test I plugged the phone into my Windows 8 computer with a USB cable and browsed all the visible phone folders.  The folder is not there.



--
This message was sent by Atlassian JIRA
(v6.2#6252)