Github user raykin commented on the issue:
https://github.com/apache/cordova-plugin-file-transfer/pull/141
same here.
```shell
E/FileTransfer(22411):
{"code":1,"source":"file:\/\/\/data\/data\/com.deltux.kasa\/cache\/tmp_20161113_082947-1226504239.jpg","target":"https:\/\/s3.amazon
aws.com\/assets-kasa-dev\/","body":"<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n<Error><Code>MissingContentLength<\/Code><Message>You
must provide the Cont
ent-Length HTTP
header.<\/Message><RequestId>934F1CD36D065625<\/RequestId><HostId>ma9wYyhr3H0aplxC5KQCLQMopLQz9IzfXk8o7ooq0DWe9dZM8kbqeDNmOWyAGpMmP3W8DuMym
A4=<\/HostId><\/Error>","http_status":411,"exception":"https:\/\/s3.amazonaws.com\/assets-kasa-dev\/"}
E/FileTransfer(22411): java.io.FileNotFoundException:
https://s3.amazonaws.com/assets-kasa-dev/
E/FileTransfer(22411): at
com.android.okhttp.internal.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:210)
E/FileTransfer(22411): at
com.android.okhttp.internal.http.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
E/FileTransfer(22411): at
com.android.okhttp.internal.http.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:25)
E/FileTransfer(22411): at
org.apache.cordova.filetransfer.FileTransfer.getInputStream(FileTransfer.java:594)
E/FileTransfer(22411): at
org.apache.cordova.filetransfer.FileTransfer.access$500(FileTransfer.java:69)
E/FileTransfer(22411): at
org.apache.cordova.filetransfer.FileTransfer$1.run(FileTransfer.java:513)
E/FileTransfer(22411): at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/FileTransfer(22411): at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/FileTransfer(22411): at java.lang.Thread.run(Thread.java:818)
```
another weird stuff is
```shell
adb logcat FileTransfer:* *:S
```
doesn't show debug log
btw, the Content-Length works on ios.
@craig-at-rsg do you find workaround on android?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]