Downloadable file types

Apr 3, 2008 at 6:55 PM
I learned something new today that I thought might help someone else.

I could upload any file to the BITS server but I could only download certain file types (ex: test.myext would not download but test.zip would).

What I needed to do was add "myext" to HTTP Headers->MIME types. In this case I used application/zip.

Once I did that all was well.

-Mont
Coordinator
Apr 3, 2008 at 10:42 PM


mont wrote:
I learned something new today that I thought might help someone else.

I could upload any file to the BITS server but I could only download certain file types (ex: test.myext would not download but test.zip would).

What I needed to do was add "myext" to HTTP Headers->MIME types. In this case I used application/zip.

Once I did that all was well.

-Mont



It's not just specific to BITS but general IIS. I run several times into this issue e.g. with zip/rar files like .rar, .r00, .r01 and so on. If you work with lot of not well defined files/mime types it's also possible to create a wildcard mapping.