Posted on: 9/21/2012 11:52:27 PM | Views : 224

Hi guys, thanks in advance for your help and your time.
I'm developing a web form which offers to the users to download files from server with sizes up to 2gb
This is my actual code:
FileInfo downloadFile = new FileInfo(filePath); if (downloadFile.Exists) { Response.Clear(); Response.Buffer = false; Response.AppendHeader("Content-Disposition:", "attachment; filename=" + m_strFileName); Response.AppendHeader("Content-Length", downloadFile.Length.ToString()); Response.ContentType = m_strFileContentType; Response.TransmitFile(filePath); Response.End(); }
The problem with that code is that I'm not able to do nothing else until the download finishes. As far as I know I should use asyncrhonous requests or something like that but I'm a little lost and I dont know how to do it.
If someone can hel ...

Go to the complete details ...