上传者: 38673909 
                                    |
                                    上传时间: 2023-02-24 09:28:41
                                    |
                                    文件大小: 81KB
                                    |
                                    文件类型: PDF
                                
                            
                                
                            
                                1、说明
  通过文件下载框实现将服务器上的文件下载到本地指定位置。这里需要指定服务器文件路径
//服务器文件路径
string strFilePath = Server.MapPath(~) + /excel/20170206104654.xlsx;
FileInfo fileInfo = new FileInfo(strFilePath);
Response.Clear();
Response.AddHeader(content-disposition, attachment;filename= + Server.UrlEncode(fileInfo.Name.ToStr