/**//// <summary>
/// 下載文件
/// </summary>
/// <param name="filepath"></param>
public static void DownloadFile(string filepath)
...{
string strContentType = "";
string strFileName = "";
string strFilePath = "";
int intIndex1 = -1;
int intIndex2 = -1;
int intIndex = 0;
if (filepath.EndsWith(".doc"))
...{
strContentType = "application/msWord";
}
else&nb