[ 
https://issues.apache.org/jira/browse/CB-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423580#comment-13423580
 ] 

Brion Vibber commented on CB-622:
---------------------------------

Updated & moved to Wikimedia's github:
https://github.com/wikimedia/incubator-cordova-js/commits/filetransfer-progress
https://github.com/wikimedia/incubator-cordova-android/commits/filetransfer-progress

This implements an 'onprogress' callback property, sending ProgressEvent 
objects for both uploads and downloads, and an 'abort' method which should work 
for both uploads and downloads. After aborting, the original upload/download's 
error callback will be called.


If this is looking reasonably sane, I'll go ahead and try an iOS 
implementation...
                
> FileTransfer interface should provide progress monitoring
> ---------------------------------------------------------
>
>                 Key: CB-622
>                 URL: https://issues.apache.org/jira/browse/CB-622
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android, BlackBerry, iOS, WP7
>    Affects Versions: 1.7.0
>         Environment: Checked docs for iOS and Android, and in general.
>            Reporter: Brion Vibber
>            Assignee: Andrew Grieve
>            Priority: Minor
>              Labels: FileTransfer, file
>
> The FileTransfer upload and download interface seems to provide no way to 
> monitor progress of the upload/download, other than waiting for the entire 
> transfer to complete or fail.
> Being able to pass another callback for progress monitoring could be a useful 
> interface, this might get called with a byte count or something.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to