I’m using VS2010, SQLExpress 2008 R2 & EntityFramework to build a document management program.
When submitting a form using HttpPostedFileBase, xls & doc formats are saved with “application/octet-stream” as it’s content type. My problem is that when I download the file, it is not recognized as a xls or doc file.
you have a few options: