cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Hogg (JIRA)" <>
Subject [jira] [Commented] (CB-6519) Recursive directory creation fails when spaces in directory names
Date Thu, 01 May 2014 21:40:19 GMT


David Hogg commented on CB-6519:

I'm assuming this fix is related (or possibly fixes):

> Recursive directory creation fails when spaces in directory names
> -----------------------------------------------------------------
>                 Key: CB-6519
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugin File
>    Affects Versions: 3.4.0
>         Environment: iOS (have not tested on other platforms)
>            Reporter: David Hogg
>            Priority: Minor
> Previous to the File Plugin release (Feb 2014), it was possible to recursively create
directories by calliing dirEntry.getDirectory using the dirEntry returned from the getDirectory
> Since the Feb release (including the latest File Plugin (v 1.1.0) this will fail if directory
names  have spaces in the name (but only if recursive. Eg. Can create 'Some Directory' fine
in root, but not 'Some Directory/Another Directory').
> Problem can be reproduced by using the filer.js library  []
and calling mkdir.  Here is another library []
that does not suffer from this problem as it always returns to the root dirEntry during folder
> As an aside, it would be awesome to have a more convenient file system API in cordova
that directly offers support for recursive folders, particularly since it looks like the html5
file system API itself ([],[])
appears to be dead or dying?

This message was sent by Atlassian JIRA

View raw message