TiExtendNW
TiExtendNW copied to clipboard
Wrong progress value on file uploads
The upload progress value must be between 0 and 1 and I'm getting values greater than 1. I'm using the Ti-Amazon-S3 example.
...
onsendstream: function(e) {
App.debug('PROGRESS: ' + e.progress);
}
...
output:
...
[DEBUG] PROGRESS: 2.6802685546875
[DEBUG] PROGRESS: 2.7602685546875
[DEBUG] PROGRESS: 2.8402685546875
[DEBUG] PROGRESS: 2.9202685546875
[DEBUG] PROGRESS: 3.0002685546875
[DEBUG] PROGRESS: 3.0802685546875
@inakiabt I'm sorry reply late. I tried to research easily. As a result, I found that the problem occurs only upload to Amazon S3. MKNetworkKit body is outputting the value of progress. Maybe there is a problem here.
I think I'll try to investigate a little more. Thanks!