Github user daserge commented on a diff in the pull request:
https://github.com/apache/cordova-plugin-file-transfer/pull/117#discussion_r45846690
--- Diff: src/android/FileTransfer.java ---
@@ -528,14 +528,18 @@ public void run() {
}
safeClose(inStream);
}
-
+
Log.d(LOG_TAG, "got response from server");
Log.d(LOG_TAG, responseString.substring(0,
Math.min(256, responseString.length())));
-
+
// send request and retrieve response
result.setResponseCode(responseCode);
result.setResponse(responseString);
+ if(result.getBytesSent() != totalBytes) {
--- End diff --
This code is related to [the added
test](https://github.com/apache/cordova-plugin-file-transfer/pull/117/files#diff-2a8a5fef3397df87ab538f028a5c6b50R951).
---
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]