I am working on a commenting part of a website. Here, For one particular comment, user can attach several files and when the form is submitted(I am using the @Html.BeginForm), the list of HttpPostedFileBase should be submitted then inside the method the uploading has to be done. I am kind of lost in this scenario. What should be the proper way of doing this?
PS: These files are small in size.
Thank you!
Simple as that, If there are more than one files to be uploaded. For example if there are two inputs, where type is “file” that can be passed.
This can be easily cough in the post method as