在网络表单按钮上单击我正在进行简单的文件下载
FileInfo file = new FileInfo(resourcesFolderPath + fileName); Response.Clear();
Response.ClearHeaders();
Response.ClearContent();
Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name);
Response.AddHeader("Content-Length", file.Length.ToString());
Response.ContentType = "text/plain";
Response.Flush();
Response.TransmitFile(file.FullName);
Response.End();
由于某些文件非常庞大,任何人都知道如何通过jQuery / javascript显示进度条?