02-11-2009, 05:23 AM
Join Date: Feb 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Download file via browser
Please Login to Remove!
I am ASP.NET developer writing page on which BB users can download some files. But when you click link Download file in BB web browser, you can specify only file name, extension is always *.ashx (extension of ASP.NET http handler)/ Original file name lost.
Is it feature of BB browser or maybe problem is in HTTP headers of response with file?
"Content-Disposition", "attachment; filename=bbinfo.doc
Content-Length", <some length>;
Response.ContentType = "application/octet-stream; bbinfo.doc"