I have an application that allows users to upload files. Some of these files can be quite large. Because of this, I want to split the file (if possible) and control its download. Currently, I have a basic HTML form that submits back to my MVC controller.
[AcceptVerbs(HttpVerbs.Post)] public ActionResult UploadFile(IEnumerable<HttpPostedFileBase> files) {
This approach allows me to upload a file. However, this application is one single task. I need to be able to run the download and track its progress. Uploadify will not work in my case because it uses Flash. I have a strict No-Flash requirement.
I am open to a hybrid approach, where if the user's browser supports HTML 5, I would use the File API, otherwise I would use my current approach. However, even with HTML 5, I'm not sure how to start the download and keep track of its progress.
Can someone help me?
Thanks!
source share