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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:49:17+00:00 2026-06-09T21:49:17+00:00

I allow users to download files from a Windows Azure storage pool by using

  • 0

I allow users to download files from a Windows Azure storage pool by using SAS (cf. this discussion). The SAS is being constructed and next the Request.Redirect(targetURL) is called to redirect the client’s browser to download the file.

This works well using Chrome to download a file (a proprietary binary file ending on the extention .dp).

However, when downloading the same file (using the same URL) on Internet Explorer 9, the extension of the file is being changed to .zip (removing the original .dp)…. Some users still use IE9 🙁

I’ve checked the content-type of the blob, which is application/octet-stream (and hence should be correct).

Why does IE9 changes the extention of the file and what can I do to prevent this?
Do I need to instruct Azure to leave the .dp file as-is (mime-type wise) and if so, how can I configure that?

edit: I really want to use redirection and not blob.openread()/response.write() to avoid additional load on the webserver.

Update 1

I’ve used Fiddler to see the server answer on the download request, and it is clear that the content-type is correct:

HTTP/1.1 200 OK
Content-Length: 60783
Content-Type: application/octet-stream
Last-Modified: Fri, 17 Aug 2012 13:25:24 GMT
ETag: 0x8CF4XXXE4DD2184
Server: Blob Service Version 1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id: 21XXXXX-9e42-4ca8-a425-e84269d9f104
Date: Fri, 17 Aug 2012 16:49:05 GMT

The content payload of the server starts with

PK����nAQ������p����

* FIDDLER: RawDisplay truncated at 128 characters. Right-click to disable truncation. *

Does IE interprets the “PK” as PKZIP and hence beliefs it’s a ZIP file?

How can this be disable (on the client side) – cf. first comment below was not the trick…

Kind regards,

Robbie De Sutter

  • 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-06-09T21:49:18+00:00Added an answer on June 9, 2026 at 9:49 pm

    I suspect this is just IE doing something annoying. I’d suggest changing the content type to something like application/x-foobar, maybe replacing “foobar” with something more meaningful. 🙂

    I haven’t tested it, but I would think that’s sufficient to get IE to stop trying to guess the file type.

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

Sidebar

Related Questions

I'm trying to set up a page that will allow users to download files
I am developing a windows phone application which allows user to download files from
I want to allow a web site users to be able to download files
I have a piece of code that allow users download file from server (document
I have a webserver from where users can download files that are specific for
I am looking for a way to allow users to download a file from
Hello I am using PHP to allow users to upload files and I have
I want to allow a user to download an html file using a php
I am currently working on a website that users can download binary media files
I want to allow users to download a file, but in order to do

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.