.dmg files not downloading properly
I run a small website, and amongst other things, have a few .dmg files created using Apple Disk Utility thingy on 10.3.9, by creating disk image from a folder (the folder is actually an open image file - I create folder, and then choose that mounted drive).
My problem is that in Internet Explorer, clicking on a simple link to this file doesn't not cause it to download - it appears as garbled text on the users screen. It works fine in Safari, but not in IE.
This puzzles me a bit however, as I have noticed that IE does not do this with all .dmg files - I tried a few others out on VersionTracker. What gives? What is the difference between dmg files?!
As an example, try this link in IE, you will see what I mean.
Thanks for the help
My problem is that in Internet Explorer, clicking on a simple link to this file doesn't not cause it to download - it appears as garbled text on the users screen. It works fine in Safari, but not in IE.
This puzzles me a bit however, as I have noticed that IE does not do this with all .dmg files - I tried a few others out on VersionTracker. What gives? What is the difference between dmg files?!
As an example, try this link in IE, you will see what I mean.
Thanks for the help
Comments
Originally posted by G_Warren
I run a small website, and amongst other things, have a few .dmg files created using Apple Disk Utility thingy on 10.3.9, by creating disk image from a folder (the folder is actually an open image file - I create folder, and then choose that mounted drive).
My problem is that in Internet Explorer, clicking on a simple link to this file doesn't not cause it to download - it appears as garbled text on the users screen. It works fine in Safari, but not in IE.
This puzzles me a bit however, as I have noticed that IE does not do this with all .dmg files - I tried a few others out on VersionTracker. What gives? What is the difference between dmg files?!
As an example, try this link in IE, you will see what I mean.
Thanks for the help
You need to set the mime-type for .dmg files.
Assuming that your webserver is running Apache you could do this in an .htaccess file.
Here's a link that explains what needs to be added to the .htaccess file.
http://macosxhints.com/article.php?s...40211102018600
Originally posted by AllInOne
You need to set the mime-type for .dmg files.
Assuming that your webserver is running Apache you could do this in an .htaccess file.
Here's a link that explains what needs to be added to the .htaccess file.
http://macosxhints.com/article.php?s...40211102018600
Ah, so it's my ISPs fault, since my ISP is hosting the files. Oh well, guess I'll need to encode them in .gz or something, that seemed to work before. Thanks
Thanks
Originally posted by G_Warren
Thanks for the help. I'm not the best with web configuration, so basically, do I just create a text file called .htaccess and stick "AddType application/octet-stream .dmg" in it?
Thanks
Yes that is correct.
Put the file in the same directory as the .dmg (or anywhere above it in the file hierarchy).