Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • mph 44 posts 78 karma points
    Jul 07, 2010 @ 11:41
    mph
    0

    Download .exe file from media 4.0.3

    Hi,

    In Umbraco 4.0.3 on IIS 6.0 I'm having trouble downloading .exe files which are uploaded to the media section.

    The users get 404 file not found when trying to download .exe files.

    I've checked that MIME type .exe is application/octet-stream.

    Is there a setting in Umbraco stopping the download of .exe files?

    Best regards,

    Michael

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jul 07, 2010 @ 11:50
    Dirk De Grave
    0

    think you need to configure your iis to allow downloads of .exe files (not sure how to tho, may need to check on iis forums), or write a download handler to stream the file to the client

     

    Cheers,

    /Dirk

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jul 07, 2010 @ 11:51
    Lee Kelleher
    0

    Hi Michael,

    Umbraco doesn't restrict which filetypes you can download.  It sounds like an IIS6 config setting, but you've already done what I was going to suggest (setting the MIME type in IIS6).  Have you restarted IIS6 (or even the web-server) so that the changes take effect?

    Cheers, Lee.

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jul 07, 2010 @ 11:53
    Lee Kelleher
    0

    Quick follow-up, found this on Server Fault:

    http://serverfault.com/questions/137713/iis6-sending-a-404-for-exe-files

    Could there be anything else on your web-server that might be blocking the .exe requests?

  • mph 44 posts 78 karma points
    Jul 07, 2010 @ 12:22
    mph
    0

    Thanks for the very quick response :)

    The MIME type has been in place for ages, I did however restart www service just to be sure, but still no luck.

    There is nothing like URLscan installed on the server which would block .exe files.

    I ended up zipping my .exe files and serving then that way instead, I soon going to move to 2008 R2 and Umbraco 4.5 anyway, so I didn't want to use too much time troubleshooting.

    Again thanks for the quick response.

    Michael

Please Sign in or register to post replies

Write your reply to:

Draft