New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
<ejs-uploader #defaultupload id='defaultfileupload' [asyncSettings]='path' multiple=true [dropArea]='dropElement'></ejs-uploader> |
var httpPostedFile = System.Web.HttpContext.Current.Request.Files["UploadFiles"];
if (httpPostedFile != null)
{
byte[] fileBytes;
using (BinaryReader br = new BinaryReader(httpPostedFile.InputStream))
{
fileBytes = br.ReadBytes((int)httpPostedFile.InputStream.Length);
// bytes will be stored in variable fileBytes
} |