[FileTransfer] Fixed file upload for server 26/249526/2
authorPiotr Kosko <p.kosko@samsung.com>
Fri, 11 Dec 2020 13:21:18 +0000 (14:21 +0100)
committerPiotr Kosko <p.kosko@samsung.com>
Mon, 14 Dec 2020 11:23:16 +0000 (12:23 +0100)
commit6dc72667fc2bbaf8b1bb585f12b64d0b2e1a2c9e
tree1e842860c71dae64307193e0d8d8bb00770cb690
parent706fe79aa02752251b11d792301245bcda064c43
[FileTransfer] Fixed file upload for server

[Issue] File was not properly sent to the server
On 6.0 implementation, problem was partially fixed, but new issues was
introduced - file.size was unknown when success callback was triggered.

[Verification] Described in JIRA task:
https://code.sec.samsung.net/jira/browse/XWALK-2197
TCT passrate 100%

Change-Id: Ic3716c1e2eaa9bc799120adb86aa71c4146064a1
src/lib/plugins/cordova-plugin-file-transfer/tizen/FileTransfer.js