How to upload files to a server In the ASPX <% using (Html.BeginForm(" UploadFile ", " AccessRequestProvider ", FormMethod.Post, new { enctype = "multipart/form-data" })) {%> Where UploadFile is the method and AccessRequestProvider is the controller (.cs) Then include the fields to upload the files <input type="file" name="files" id="file1" class="filestyle" data-classbutton="btn btn-primary" data-input="false" data-classicon="icon-plus" data-buttontext="TEst."> <input type="file" name="files" id="file2" class="filestyle" data-buttonname="btn-primary" data-buttontext=" TEst."> Close the form <%} %> ...