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 6012599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:25:38+00:00 2026-05-23T02:25:38+00:00

I have an android application that is downloading a file from a server that

  • 0

I have an android application that is downloading a file from a server that is hosting the file with IIS. I have a progress bar that is shown to the user while the file is being downloaded. If I host my file on dropbox and grab it from there instead of my IIS server the progress bar works correctly. However when I grab the file from the IIS server the last update that the progress bar gets bumps it to 66% then the file is done downloading. I checked the file size after download and it is definitely getting the whole file. It is an mp4 file that I am working with, I have the MIME type for ‘.mp4’ set to: ‘video/mpeg’ though I have also tried ‘video/mp4’, and ‘file/mpeg’ none of which corrected the problem. I thought maybe it had something to do with the Compression setting in IIS so I disabled both static and dynamic compression, this made the progress bar go all the way to 100%, but made the download take WAY longer. Is there some other setting in IIS that could be causing this behavior?

  • 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-23T02:25:39+00:00Added an answer on May 23, 2026 at 2:25 am

    I had Dynmaic Compression enabled on the IIS server and that was causing the response to the HTTP request to contain a file size that was larger than the actual file. The size that I was getting in that response is how I was figuring out how far to set the progress bar. It was smart enough to realize that the file was finished when it was, but the progress bar was basing its progress on an inflated file size. I am not sure why dynamic compression would make it report a size that is larger than it is in reality. I would’ve thought if anything it would give a smaller size. But anyhow, I turned off dynamic compression and all is well now.

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

Sidebar

Related Questions

i have this android application that requires to load data from a remote server
I have an app that downloads a file from an FTP server upon tapping
I have an Android application that allows the user to connect to his Facebook
I have an android application that begins by downloading a large database to the
I have an Android application that connects to Facebook to request authorization of an
I have a Web Service and an Android application that uses this web service.
I want to build an notepad-style application on android that will have syntax highlighting.
I have an interesting problem being reported to me from an android application I
I have an android application that parses some HTML, downloads an image, and displays
I am not aware of any application on android that is capable of downloading

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.