File upload with ASP.Net resume support

I know how to force download a file with server side code. here's a code example

Response.Clear(); //eliminates issues where some response has already been sent
Response.ContentType = "text/plain";
Response.AddHeader("Content-Disposition", string.Format("attachment; filename={0}.sql", filename));
Response.Write(yourSQL);
Response.End();

      

I like to know what header information I need to add in order to give support to the resume so that the client can resume the download if suspended. i got a link but it has an answer with many lines of code

** http://forums.asp.net/t/1218116.aspx?Resume+Download+for+Huge+Files

how to resume file upload in asp.net using c # -> better way (for large files too)

https://code.msdn.microsoft.com/Implement-resume-in-aspnet-c1bbde36 **

thank

+3


source to share





All Articles