Tuesday, August 21, 2012 12:31 AM
I wanted to upload files from a directory and i want all of the files in the directory uploaded. The directory is stored on a string variable and wanted to store/upload it into a Request.File so that i can evaluate the file thats been uploaded.
Currently, im able to get the filepaths using Directory.GetFiles method.
Its an mvc app and i want to process everything on the controller side. The only input tag on the view should be a textbox wherein you can paste the directory.
Can Request.File be achieved without using a File Input Tag and just use a string directory as a replacement?
- Moved by Mike Dos ZhangMicrosoft Contingent Staff Thursday, August 23, 2012 6:28 AM (From:Visual C# General)
Tuesday, August 21, 2012 8:51 AMThe ASP.NET MVC forums http://forums.asp.net/1146.aspxis the better place for such questions
With Thanks and Regards
click "Proposed As Answer by" if this post solves your problem or "Vote As Helpful" if a post has been useful to you
Wednesday, August 22, 2012 8:17 AM