cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Ginchereau (JIRA)" <>
Subject [jira] [Updated] (CB-6519) Recursive directory creation fails when spaces in directory names
Date Thu, 05 Nov 2015 18:27:27 GMT


Jason Ginchereau updated CB-6519:
    Labels: iOS  (was: )

> Recursive directory creation fails when spaces in directory names
> -----------------------------------------------------------------
>                 Key: CB-6519
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>    Affects Versions: 3.4.0
>         Environment: iOS (have not tested on other platforms)
>            Reporter: David Hogg
>            Priority: Minor
>              Labels: iOS
> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message