[
https://issues.apache.org/jira/browse/CB-10044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15015465#comment-15015465
]
ASF GitHub Bot commented on CB-10044:
-------------------------------------
Github user daserge commented on the pull request:
https://github.com/apache/cordova-plugin-file-transfer/pull/116#issuecomment-158332458
Also the test should be extended to verify the data received by [the
server](https://github.com/apache/cordova-labs/blob/0987a423d8ba82901a39caf9d1c013f06192e83d/server.js#L37)
- it echoes the received file params back so at least we can verify the file
length now (see [verifyUpload
function](https://github.com/apache/cordova-plugin-file-transfer/blob/97031b2d7528033c82bdff4659b9041dd9512a51/tests/tests.js#L696))
and we should also verify the contents IMO.
The server responds back like this now:
```
{"fields":{},"files":{"file":{"size":17,"path":"C:\\Users\\SERGEY~1.SHA\\AppData\\Local\\Temp\\upload_d2fac85e424cb5bda30b5cb5900978f7","name":"fileToUpload.txt","type":null,"mtime":"2015-11-19T16:38:41.038Z"}}}
```
> Update FileTransfer plugin to upload a part of a file to be able to be used
> with ResumableJS
> --------------------------------------------------------------------------------------------
>
> Key: CB-10044
> URL: https://issues.apache.org/jira/browse/CB-10044
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Plugin File Transfer
> Affects Versions: 3.5.0
> Environment: Android and iOS
> Reporter: Marco Antonio Ortega Moulin
> Assignee: Marco Antonio Ortega Moulin
> Priority: Minor
> Labels: Android, iOS
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> When using Resumablejs we want to be able to use the FileTransfer plugin to
> upload parts of a file. In order to do this we will be sending the startByte
> and endByte parameters to the FileTransfer plugin.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]