Contents tagged with FileUpload
-
HttpPostedFile.SaveAs
So I'm building a simple app that allows users to upload photos to our public website. I'm using the FileUpload control that is built into ASP.NET. It has worked like a charm before in other apps, but today I started having a problem with it, in place of the files that get uploaded are a little text file (with the same name specified in the HttpPostedFile.SaveAs method) with these contents: