cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shakhnazarov (JIRA)" <>
Subject [jira] [Commented] (CB-10260) [iOS] FileTransfer.didReceiveResponse fail due to createDirectoryAtPath return NO
Date Fri, 25 Dec 2015 11:27:49 GMT


Sergey Shakhnazarov commented on CB-10260:

[~raven.zuo], thanks for reporting.
Could you please attach some code snippet for reproducing the issue?

> [iOS] FileTransfer.didReceiveResponse fail due to createDirectoryAtPath return NO 
> ----------------------------------------------------------------------------------
>                 Key: CB-10260
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>    Affects Versions: 5.4.1
>         Environment: IOS
>            Reporter: raven zuo
>            Priority: Critical
> In apple's document, it says 'YES if the directory was created or already exists or NO
if an error occurred.'. But here the error message says that there is already a directory
with this name thus can't create a new one. It doesn't always fail, but with a very high possibility
that if a directory exist then the operation will fail.
> So in this case, if the error is that there is already an existing directory with the
same name, then we shouldn't fail but continue because the directory is created(successfully
by previous operations).

This message was sent by Atlassian JIRA

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

View raw message