HTTPFileCollection fileCollection=Request.Files;for(int i=0;i{ HttpPostedFile file=fileCollection[i]; If(fileCollection.ContentLength > 0) { file.SaveAs(filePath); }}