Mr.Combet Webshell
Your IP :
216.73.216.136
Server IP :
103.233.58.157
Server :
Windows NT WIN-4PGF72KEHKB 10.0 build 17763 (Windows Server 2016) AMD64
Server Software :
Microsoft-IIS/10.0
PHP Version :
7.3.25
Add File :
Submit
Add Directory :
Submit
Dir :
C:
/
inetpub
/
wwwroot
/
VITA
/
1DEC25_backup
/
Views
/
Vst
/
View File Name :
_excelUpload.cshtml
<div class="modal-dialog equal-label-width"> <div class="modal-content"> <div class="modal-header"> <span class="close" id="close" data-dismiss="modal" aria-hidden="true">×</span> <label style="font-size:medium;"><b>Vocational Skills Training Record Excel Upload</b></label> </div> <div class="modal-body h-150"> <div> <form id="vstExcelUpload" enctype="multipart/form-data"> <div class="form-horizontal"> <div class="form-group"> <div class="col-md-3"><strong>Download Format</strong></div> <div class="col-md-9"> <a href="/Vst/DownloadFormat/"><img src="~/Images/ExternalIcon/excel.png" width="25" height="25" title="Download Excel format" alt="excel" /></a> </div> </div> <div class="form-group"> <div class="col-md-3"><strong>Upload Excel</strong></div> <div class="col-md-9"> <input type="file" id="FileUpload" name="FileUpload" class="" /> </div> </div> <div class="pull-right"> <input type="submit" value="Upload" id="btnSubmit" class="btn btn-primary" /> </div> </div> </form> </div> </div> </div> </div> <script> $("#vstExcelUpload").submit(function (e) { e.preventDefault(); // avoid to execute the actual submit of the form. var formData = new FormData($("form")[0]); debugger $.ajax({ type: "POST", url: "vst/excelupload", data: formData, success: function (data) { if (data == 200) { ShowMessage("success", "Data uploaded successfully"); window.location = "/vst"; } else ShowMessage("warning", data); }, error: function (xhr) { WorkForce.loader.hide(); ShowMessage("error", xhr.responseText); }, processData: false, contentType: false }); }); </script>