WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't download a .dmg file from Uploads folder. (3 posts)

  1. ghostadmin
    Member
    Posted 2 years ago #

    I have a .dmg file and a .exe file in a subfolder under downloads. Each file is linked from an image on the same page of my site. The .exe file downloads as expected, but the .dmg file brings a 404 error from either a MAC or Win pc.
    I have uploaded a fresh copy of the file, even tried a different .dmg file with the same name. The file is visible in filezilla (ftp client) but won't download either from the site, or typing the address in the address bar. It does download through filezilla.
    I realize this may not bed a wordpress issue, but I need your help.
    The page is http://atlascs.net/remote-service/
    The file is http://atlascs.net/wp-content/uploads/apps/AtlasRemoteMac.dmg
    Thanks in advance.

  2. deepusridharannair
    Member
    Posted 1 year ago #

    I had the same issue. The .exe file in the same directory was getting downloaded properly, but the .dmg file wasn't. Thus, it was obvious that the problem was with the extension.

    The problem : MIME type for .dmg is missing in IIS which is not recognizing/allowing it to download.

    The solution : Create MIME type for '.dmg' extension!
    file Name Extention : .dmg
    MIME type : application/octet-stream

    Hope this helps. Thanks.

  3. deepusridharannair
    Member
    Posted 1 year ago #

    Ok, I tried editing my previous reply, but it didn't work. So here's the solution :

    The actual problem : MIME type for .dmg is missing in IIS which is not recognizing / allowing it to download.

    The solution : Create MIME type for '.dmg' extention and everything starts working.
    file name extention : dmg
    MIME type : application/octet-stream

    Hope this helps. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags