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

Ian Clelland commented on CB-6029:
----------------------------------

Where are you trying to save the file? What argument are you passing to 
{{fileTransfer.download()}}?

This may be the same issue as CB-6015, where a {{fileEntry.fullPath}} attribute 
was being used as the target for {{download}}, which was probably inappropriate 
before, and can be changed now to {{fileEntry.toURL()}}. As long as the target 
filesystem is writable, that should succeed.



> fileTransfer fails after URLforFilesystemPath: test implemented
> ---------------------------------------------------------------
>
>                 Key: CB-6029
>                 URL: https://issues.apache.org/jira/browse/CB-6029
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: iOS
>    Affects Versions: 3.3.0
>         Environment: xcode ios
>            Reporter: Selim Hernandez
>            Assignee: Ian Clelland
>            Priority: Blocker
>
> Ok so I had the same problem as CB-6010, that is to say that xcode crashed at 
> runtime when I used the fileTransfer.download method with the message:
> Unrecognized selector URLforFilesystemPath:
> I added the "Test properly for presence of URLforFilesystemPath method"
> So it's ok there is no xcode crash but the fileTransfer.download method fails 
> when it succeeded in previous version...message:
> File Transfer Error: Could not create target file
> Thanks



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

Reply via email to