• Resolved ghostadmin

    (@ghostadmin)


    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 https://atlascs.net/remote-service/
    The file is https://atlascs.net/wp-content/uploads/apps/AtlasRemoteMac.dmg
    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't download a .dmg file from Uploads folder.’ is closed to new replies.