Upload multiple files in Asp.Net

<input id="fuImages" accept="gif|jpg|png|jpeg|bmp" multiple="multiple" name="fuImages" type="file" /&gt;     

protected void btnUpload_Click(object sender, EventArgs e)
{
	HttpFileCollection hfc = Request.Files;
	{
		for (int i = 0; i &lt; hfc.Count; i++) 		
                {
 			HttpPostedFile hpf = hfc[i]; 			
                        if (hpf.ContentLength &gt; 0)
			{
				FileInfo fi = new FileInfo(hpf.FileName);
				string _strItemImageOrigionalName = fi.Name.Replace(" ", "_");
				string strSavePath = Server.MapPath("~/Upload/" + _strItemImageOrigionalName);
				hpf.SaveAs(strSavePath);
			}
		}
       }
}
Advertisements