Web Hosting Talk







View Full Version : Requesting Thoughts/Help w/ Issues Downloading Files via http


AllenB
12-04-2010, 10:42 AM
Hello,

I'm running into an issue I've never seen before on multiple Win2k3 (IIS 6) Web servers.

In the past, I've never had an issue w/ folks downloading files via browsers and http. As long as there was no defined MIME Type, in IIS, for the file extension the file would prompt for downloading when served. I've just noticed though, on multiple Win2k3 Web servers, that I now get a 404 page not found error when trying to hit/load the file. I've tried this on multiple Win2k3 servers and am seeing the same results. This is something that has worked successfully in the past and I'm a bit stumped as to why I'm now seeing this behavior on multiple (different) Win2k3 Web servers where it had worked in the past. I've checked and confirmed there is no existing MIME Type for the file extension. I've also tried different files and different extensions w/ no luck.

Thanks for your time and best wishes.

Syslint
12-04-2010, 11:19 AM
What type of application you are hosting , is it any php ?

Wintereise
12-04-2010, 11:28 AM
I've run into this as well, but mine was a Win 2k8 server, if I remember correctly.
Temporarily assigned a mime type for the extensions back then, worked for me.

PremiumHost
12-05-2010, 07:57 PM
Correct response for file type not registered is file not found.

I believe you can add wildcard mime type but it's not recommended.

AllenB
12-07-2010, 12:55 PM
Hello,

What type of application you are hosting , is it any php ?

Thanks vcPanel, but there are no applications involved and the standard behavior used to be that if there is not a defined MIME Type for the extension, the file would prompt for download: http://support.microsoft.com/kb/260519 This is an article re how to do it for known MIME Types, but the first paragraph states that a user should be prompted to download if no known MIME Type. This is how it always used to work (I am only speaking re Win2k3 & IIS 6), but now I see a 404 error when trying to serve a file for downloading.

I've run into this as well, but mine was a Win 2k8 server, if I remember correctly.
Temporarily assigned a mime type for the extensions back then, worked for me.

Correct response for file type not registered is file not found. I believe you can add wildcard mime type but it's not recommended.

Thanks Wintereise and PremiumHost, but are you sure? The behavior used to be that if you did not assign a MIME Type (I am only speaking re Win2k3 & IIS 6) you would be prompted for downloading the file. Only recently do I see this new behavior and a 404 message.

Weird and I'm thinking something has changed either browser-side or within IIS via a MS patch.

Weird, weird weird. :S

Thanks and best wishes.

AllenB
12-10-2010, 02:05 PM
Hello,

Just a "friendly bump" and hoping someone may have some ideas and thoughts (or a fix lol) on this.

Thanks for your time and best wishes.