Is it possible to rename file when trying to download it? For example, I would like to store files to folders using their id\'s but when user downloads file I\'d like to ret
just change name of file over here
Response.AppendHeader("Content-Disposition","attachment; filename=LeftCorner.jpg");
for example
string filename = "orignal file name.ext";
Response.AppendHeader("Content-Disposition","attachment; filename="+ filename +"");
Downloading a File with a Save As Dialog in ASP.NET