摘要:
void down(string filepath) { //确定文件的物理路径 string filePath = Server.MapPath(filepath); FileInfo Fi = new FileInfo(filePath); if (Fi.Exists) { FileStream fs = new FileStream(filePath, FileMode.Open); byte[] bytes = new byte[(int)fs.Length]; fs.Read(bytes, 0, bytes.Length); fs.Close(); Response.ContentT 阅读全文