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

Kristijan Celic commented on CB-7326:
-------------------------------------

I am gettin into the same issue, even when i try to upload a picture without 
params, It abborts with a CONNECTION_ERR (Code 3). Straingly everthing works 
fine when i set a Breakpoint on line 710 in the FileTransfer.cs and step 
through the Code. Seems like there is a Threading Issue. It also throws a 
IsolatedStorageStreamExecption. I am building local with the Cordova CLI and 
use VS to deploy my WP8 App to my phone.

> File upload fails in WP8
> ------------------------
>
>                 Key: CB-7326
>                 URL: https://issues.apache.org/jira/browse/CB-7326
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer, WP8
>            Reporter: Ian Clelland
>            Assignee: Jesse MacFadyen
>
> [Transferred from comment in CB-2293]
> I'm facing a similar issue. The image upload fails in Windows Phone 8 (Nokia 
> Lumia 720).
> I'm using the latest stable version of the plugin r0.4.5 from below.
> https://github.com/apache/cordova-plugin-file-transfer/blob/master/doc/index.md
> The example mentioned as part of the plugin document from the above link is 
> not working in Windows Phone 8.
> The issue is with sending "params" object as part of the request "options". 
> The upload works when "params" object is removed from the request.
> There is a work around for this as we can send the required params as part of 
> the server URL itself.
> Example: https://someserver?param1="param1"&param2="param2";
> Sending params like above works. But of course your server side code should 
> be able to extract it if required.
> But there are many servers which discard any extra param being sent to it as 
> part of the URl and would not consider it.
> Anybody facing a similar issue and have found any alternate solution to this?



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to