string filename=File.FileName;
path = Server.MapPath("~/Images/")
<pre lang="cs">filePath = System.IO.Path.Combine(path , filename);
// file is uploaded
file.SaveAs(filePath);</pre>
OR
string fileWithPath=Server.MapPath("~/Images"/;)+FileName.Jpg;
file.SaveAs(fileWithPath)
you need to provide name of the file with extension. Then it will get save
Hope This Helps!!!