file download question

  • Thread starter Thread starter Craig Buchanan
  • Start date Start date
C

Craig Buchanan

I store files with a unique name on our company's server. Is there a way to
change this name to something more friendly (the 'real' name of the file
stored in a database) if a user clicks a link to download the file? Perhaps
redirecting to another aspx page that sets the content information?

Thanks,

Craig
 
We do this in our app - we actually pull the "file" out of a SQL server blob
field and send it down. The key to the file name is

Response.AddHeader("Content-Disposition", "filename=" & MyFileName)


DvS
 
Back
Top