[
https://issues.apache.org/jira/browse/CB-10260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15071518#comment-15071518
]
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: https://issues.apache.org/jira/browse/CB-10260
> 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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]