我使用这种方法下载文件
public FilePathResult downloadFile(string fileName)
{
//Download the spreadsheet
string path = "C:\\Users\\Johandk\\Documents\\Visual Studio 2010\\Projects\\FormValue\\" + fileName + ".xlsx";
return File(path, "application/vnd.ms-excel", fileName + ".xlsx");
}
有什么方法可以检查下载进度,甚至在下载完成时收到通知?
谢谢