Cross Session Resumable Downloads
This post is a bit late in coming, but we finally have cross session resumable downloads as part of the download manager that Firefox, as well as any Mozilla Toolkit applications, use. This is all thanks to the efforts of Srirang Doddihal, Edward Lee, Christian Biesinger, and a bit from myself as well (doing the reviews counts, right?).
I’m really excited about our solid back-end for cross session resumable downloads. It is now the case that when you quit or go offline, downloads that are resumable will simply pause, and will be ready for you to resume (or automatically resume) once you restart or go back online. In fact, any download that you pause is actually stopped (if it is resumable), and is resumed when you click resume (we fall back to the old way of pausing by calling suspend on the channel if the download isn’t resumable). So, for those of you complaining that pausing a download, putting your computer to sleep, waking it up, and resuming a download just hangs, you can stop – it works now (beltzner and shaver, I’m talking to you!).
All this will be in the beta of Firefox 3 due out Real Soon Now!
EDIT: Gwah! I lied (I really need to stop blogging about stuff before it cycles for a little while - my track record is really bad!). It will not automatically resume at startup because the code that did that caused a startup time regression so it got backed out. :(
October 25th, 2007 at 07:41 (7:41 am)
Actually, even though the downloads don’t automatically resume at startup quite yet, they will automatically resume when you start the download manager. :)
October 25th, 2007 at 09:21 (9:21 am)
If I go offline (File - Work Offline) Minefield* asks if it should cancel (not pause!) downloads. If connection is lost downloads fail with an error message: “foo.bar could not be saved, because the source file could not be read”. There is room for improvement. :)
*Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a9pre) Gecko/2007102504 Minefield/3.0a9pre
October 26th, 2007 at 01:15 (1:15 am)
very nice, can’t wait…thanks guys!
October 26th, 2007 at 04:33 (4:33 am)
Does it also support resuming if Firefox crashes?
October 26th, 2007 at 08:01 (8:01 am)
@Ian
I do believe it should, but I don’t recall testing that specific use case.
October 28th, 2007 at 12:44 (12:44 pm)
To Ian
Yes, downloads are resumed when you open download manager
July 13th, 2008 at 22:23 (10:23 pm)
Thanks a lot for this feature, works just as it should:-)
Prem