创建DMG文件以下载链接 [英] Creating DMG file to downloadable link

查看:85
本文介绍了创建DMG文件以下载链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用磁盘"实用程序在文件中创建了一个磁盘映像,然后将其导出到压缩的磁盘映像(.dmg扩展名文件),然后将该文件上传到Godaddy Windows服务器,现在的问题是我无法创建该文件的下载链接文件,我在浏览器中尝试了该文件位置,但未显示下载文件"对话框,我两次检查了URL路径,它的URL正确,如何创建dmg扩展文件到可下载链接?方案

您可能必须在服务器上将dmg文件设置为MIME类型,以便服务器知道可以下载该文件.它将尝试阻止未知类型.


I created one disk image to my file using Disk utility and I exported that to compressed disk image(.dmg extension file) and I uploaded that file to Godaddy windows server, Now my problem is I cant create a download link to that file, I tried that file location in browser but it not showing download file dialog, I checked the URL path twice,its the correct URL, how I can create a dmg extended file to downloadable link?

解决方案

You may have to setup the dmg file as a MIME type on the server so that the server knows that it can be downloaded. It will try to block unknown types.


这篇关于创建DMG文件以下载链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆