close


FTP 不能下載自訂副檔名的解決方法 

修改web.config的檔案

<?xml version="1.0" encoding="utf-8"?>
<!-- 
    注意: 除了手動編輯這個檔案以外,您也可以使用 
    Web 管理工具設定您的應用程式設定值。請使用 
    Visual Studio 中的 [網站] -> [ASP.NET 組態] 選項。
    如需完整的設定與註解清單,請參考 
    machine.config.comments (通常位於 
    \Windows\Microsoft.Net\Framework\v2.x\Config) 
-->
<configuration>
 <system.webServer>
   <staticContent>
     <mimeMap fileExtension=".dss" mimeType="dss/custom" />
     <mimeMap fileExtension=".uiw" mimeType="uiw/custom" />
   </staticContent>
 </system.webServer>
</configuration>


修改完畢把這個檔案放在要下載檔案的同目錄即可

arrow
arrow
    全站熱搜

    createps 發表在 痞客邦 留言(0) 人氣()