Skip to content

Resume download file#54

Open
gebing wants to merge 4 commits intotinyeeliu:masterfrom
gebing:ResumeDownloadFile
Open

Resume download file#54
gebing wants to merge 4 commits intotinyeeliu:masterfrom
gebing:ResumeDownloadFile

Conversation

@gebing
Copy link

@gebing gebing commented May 21, 2013

Add the feature to support resume download file base on my modification of Pull Request #53.

Users can call AQuery.download(String url, File target, boolean resume, Object handler, String callback) continiously to resume downloading a file

gebing added 4 commits May 21, 2013 19:58
1. in function clear(), reset all local variables in order to reuse same AbstractAjaxCallback instance.

2. in function httpDo(), add code for IOException processing to remove partial content file in cache.

3. in function filePut(), add code for remove cache file when user called status.invalidate() in case of  status.getFile() is not null
Modify setting HTTP Range value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant