Allow for resume of partial Downloads.
I stumbled upon this the other day. It could be a start and shoudn't take much to implement it. Some stuff need to be re-worked to allow that to happen.
Design Tasks
-
Naming conventions need to be worked and standardized accross the module. -
Temp file naming and handling need re-design probably. -
Downloading behavior need altering, Keep the .partial files and add a cleaner maybe?
Development Tasks
-
Re-name .partial files with a convention. -
Remove tempfiles and replace them with .partial . -
Implement download resuming. -
Add fallback for when not supported. -
Implement a cleaner util that will sweep unfinished .partial files upon call. -
Write unit tests.
QA Tasks
-
assert file downloading still works. -
assert resuming works. -
assert .partial gets deleted when the cleaner is run. -
assert .partial is removed when resumption is not supported.
Edited by Jordan Petridis