Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 775989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T19:22:44+00:00 2026-05-14T19:22:44+00:00

I want to provide a progress bar for my users who upload very large

  • 0

I want to provide a progress bar for my users who upload very large files. I did some reading and implemented what should be a pretty straightforward solution:

  • I have a <form> element that contains an file input element; its target is set to the ID of a hidden iframe.
  • On the server side, there’s some Spring magic that attaches an object to the user’s session; the progress of the upload can be queried from this object.
  • After submitting the form, I start a repeating Ajax call using setInterval that queries the server for the percent-complete using the aforementioned session object. The call repeats every half-second, skipping the Ajax call if the previous call has not yet completed. I use the data from the call to update the width of an onscreen element. When the server call reports that the upload is complete, I clear the interval timer.

I created a 100-megabyte file and uploaded it using my interface. This is using Firefox 3.6.3. What I found is that although the upload takes 20-25 seconds, the progress bar doesn’t get updated until the very end. Moreover, the entire browser is basically frozen until the upload completes.

I assumed that my method must be flawed, but I tried the same page using IE6, and was utterly amazed when it behaved as I had designed it to–the progress bar got updated every half second, and the whole upload only took about 15 seconds, much faster than Firefox.

I don’t have many add-ons installed, but I tried disabling Firebug and restarting my browser. This marginally improved the performance–I got perhaps a single additional progress bar update mid-upload–but still far from acceptable.

Can anyone tell me what I can do to bring Firefox’s performance up to the level of IE6? Ugh, I can’t believe I actually typed that.

EDIT:

I just tried uploading a large file from a Firefox 3.6.3 browser on a different machine than the one that’s running my web server, and it worked fine. Huh.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T19:22:44+00:00Added an answer on May 14, 2026 at 7:22 pm

    Apparently this was a Linux thing rather than a Firefox thing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to display a progress bar/wheel, when doing some process, for instance, on
I want sell some .NET library and I want provide edition with full source
I want to provide my user with some meaningful error messages when network requests
I want to provide the ability to save some rendered data/charts (with the titles
Does QT provide any functions to control a progress bar's speed? For example, if
I am working in android. i want to show a progress bar. Progress is
I want provide bonuses to users how have shared link to my android application.
I want to provide a button which cancels the present task, Let's say I
I want to provide my colleagues with an interface (using Windows Forms or WPF)
I want to provide a custom Batcher for Hibernate to use (for this reason:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.