Support for extensions using XUL/XPCOM or the Add-on SDK was removed in Firefox 57, released November 2017. As there is no supported version of Firefox enabling these technologies, this page will be removed by December 2020. Add-ons using the techniques described in this document are considered a legacy technology in Firefox.
Download In Progress
My MVC application has a simple file download controller action that downloads a file.
Here is the code:
I can download/save files successfully but can't seem to get Firefox to show the file download progress. All other browsers shows the file download progress.
Does anyone know how to get Mozilla Firefox to show the file download progress?
Wladimir Palantclosed as not a real question by jrummell, Johann Blais, cadrell0, tereško, GravitonJun 19 '12 at 3:18
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.
2 Answers
You need to add Content-Length
to the header so the browser can calculate that.
You need to send a Content-Length
header that tells the size of the file in bytes, otherwise the browser has no idea how large the file is and it cannot display a progress bar.
If you pass a content-length, then it can display a progress bar as it downloads.
drew010drew010Not the answer you're looking for? Browse other questions tagged c#asp.net-mvcfirefox or ask your own question.
the latest XUL version for older versions of Firefox, SeaMonkey and PaleMoon is here:
https://addons.mozilla.org/addon/s3download-statusbar/versions/4.13
Original Download Statusbar add-on for Mozilla Firefox is abandoned October 28, 2011:
https://addons.mozilla.org/firefox/addon/download-statusbar/
Does it mean its death? Of course not! It has been reborn! I brought it back to life!
Now it is called Download Manager (S3) and works with all Firefox versions 26+
Completely rewritten code to be compatible with the latest versions of firefox, but visual interface unchanged for use as a familiar old Download Statusbar
What is Download Manager (S3)?
Despite its compact size, Download Manager (S3) packs in more useful features than the standard download window. The fully customizable interface auto-hides when not in use, allowing full control without interruption.
HotKey:
- Ctrl + J = Open Download History page
- Ctrl + Shift + Z = Show/Hide Download Bar
- Ctrl + Shift + Backspace = clear the last downloaded item
- Ctrl + Shift + Insert = Undo last clear
- Ctrl + Shift + Enter = open the last downloaded item
- Alt + Shift + Enter = show the last downloaded item
New Features (compared with the original Download Statusbar):
- Replace Downloads Library page.
Now you have full control of your downloads history!
------
Features:
------
show progress, time remaining, full file path, url, etc..;
show summary progress;
for one download or groups: retry, pause, cancel, resume, etc..;
search in Downloads History;
preview image files;
and many other functions - Show only NUM completed downloads
- Checksum for downloaded file
- Checksum for any file
- Position of the buttons in Download bar (left or right)
- Hide Download bar when all downloads are completed
- Show special icon if the file not found
- Place newest downloads from: Left or Right
- Download bar in top of the screen
- Options: Text Sizes - Tooltip Size
- Queue Mode
- Show the 'Downloads Completed' notification
- Summary progress on Download bar
- ...and a lot of other changes
Download Manager (S3) for Google Chrome:
https://chrome.google.com/webstore/detail/download-manager-s3/ngmcjenopiialholjggicgplegmcmjda
WebExtensions Limitations:
1. Download Bar not displayed on some sites from mozilla.org and google.com
2. Download Bar not displayed on sites that do not have pages, for example error 404 (page not found)
3. Download Bar not displayed on internal Firefox and GoogleChrome pages, for example about:addons , about:config , chrome://extensions/ , chrome://settings/ , etc.
4. Download Bar not displayed on the extensions pages 'moz-extension://....' , 'chrome-extension://....'
Reader View Firefox
--------
Download Manager (S3) is full compatibility for Google Chrome, but there are known problems for Firefox:
1. downloadItem.exists does not change from true to false when a file is removed
https://bugzilla.mozilla.org/show_bug.cgi?id=1381031
2. does not display history from past sessions
https://bugzilla.mozilla.org/show_bug.cgi?id=1255507
3. chrome.downloads.drag is not a function
https://bugzilla.mozilla.org/show_bug.cgi?id=1245648
View Download Progress Bing
View Progress Of Downloads
---forums mozillaZine:
http://forums.mozillazine.org/viewtopic.php?t=2793995
forums mozilla-russia: