You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2014/02/18 19:02:19 UTC

[jira] [Commented] (CB-6017) Windows8: Unable to get file entry using relative path

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

Ian Clelland commented on CB-6017:
----------------------------------

Is a backslash really allowed to be used as a path separator in this case? I would expect that the standard would be to use forward slashes, as in a URL, and that the underlying plugin would convert them as necessary to a device filesystem path (with backslashes on Windows and Windows Phone, for instance)

> Windows8: Unable to get file entry using relative path
> ------------------------------------------------------
>
>                 Key: CB-6017
>                 URL: https://issues.apache.org/jira/browse/CB-6017
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File, Windows 8
>    Affects Versions: 3.1.0
>         Environment: Cordova 3.1.0
> Windows 8.1
>            Reporter: Vijay Patil
>
> I am unable to get the file entry using relative path containing directory on windows 8.1 device. It works fine on android device.
> e.g. -
> {code}
> dirEntry.getFile("directory1\\file1.txt", {create: false}, successCallback, errorCallback);
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)