You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2018/07/11 22:46:00 UTC

[jira] [Closed] (CB-12063) Uploading to aws s3 with chunkMode: false fails.

     [ https://issues.apache.org/jira/browse/CB-12063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-12063.
-----------------------------
    Resolution: Won't Fix

The plugin has been deprecated and this won't be fixed.
Read the blog post about the alternatives
https://cordova.apache.org/blog/2017/10/18/from-filetransfer-to-xhr2.html

> Uploading to aws s3 with chunkMode: false fails.
> ------------------------------------------------
>
>                 Key: CB-12063
>                 URL: https://issues.apache.org/jira/browse/CB-12063
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-file-transfer (DEPRECATED)
>    Affects Versions: 1.6.0
>         Environment: android
>            Reporter: Royi
>            Priority: Major
>
> When Trying to upload a file to aws s3 with the next options:
>       chunkedMode: false,
>       httpMethod: 'PUT',
>       headers: {
>         'Content-Type' : 'image/jpg'
>       }
> the response from amazon is:
> Message>A header you provided implies functionality that is not implemented</Message><Header>Transfer-Encoding</Header>
> It seems that Transfer-Encoding header is being sent thus s3 fail.
> for more info take a look at 
> http://stackoverflow.com/questions/39780922/cordova-file-transfer-to-s3-aws-returns-501-error



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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