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

ASF GitHub Bot commented on CB-8407:
------------------------------------

Github user Fuchur84 commented on the pull request:

    
https://github.com/apache/cordova-plugin-file-transfer/pull/63#issuecomment-180414183
  
    There seems to be a problem with this on Windows 10 / Windows 10 Mobile... 
I get an error on line 502, column 33 in 
"(path)/transfer/src/windows/FileTransferProxy.js":
    "0x80070057 - JavaScript runtime error: Wrong parameter.
    
    count"
    
    The value given there is download.progress.bytesReceived (which seems to be 
0 when it is called), but I am not sure what it does expect there and why 0 is 
not a valid value for the first iteration. Any idea what is happening there?


> file-transfer plugin fails to download a file if to ms-appdata specified file 
> on windows
> ----------------------------------------------------------------------------------------
>
>                 Key: CB-8407
>                 URL: https://issues.apache.org/jira/browse/CB-8407
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>    Affects Versions: 0.4.8
>         Environment: Windows platform
> File-transfer [email protected]
> file [email protected]
>            Reporter: Vladimir Kotikov
>            Assignee: Vladimir Kotikov
>              Labels: file, file-transfer, windows
>
> download() in file-transfer plugin expects path instead of internal URL on 
> windows
> This bug seems to be introduced with these changes to cordova-plugin-file: 
> https://github.com/apache/cordova-plugin-file/commit/bcbeae24cd24583b790da95e0e076492eb16cd4f
> All tests for download method of file-transfer plugin now fail on windows 
> with following message:
> Exception calling native with command :: FileTransfer :: download 
> ::exception=WinRTError: The parameter is incorrect.
> As per internal discussion, this line may be the cause:
> https://github.com/apache/cordova-plugin-file-transfer/blob/master/src/windows/FileTransferProxy.js#L166



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to