2...when i upload docx file it is successfully uploaded but not downloaded...give me solution can i download docx file from same code..
plese reply fast....
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend3days leftRegister
Jignesh TrivediRank #16 · 50.3K pointsPosted May 20, 2013, 7:39 PM EDT
hi,
in the first case you have to specify content type to "application/pdf" and also content-disposition to "inline;filename=test.pdf"
please refer following link it might help you.
http://www.aspdotnet-suresh.com/2012/11/aspnet-open-pdf-file-in-web-browser.html
In second case your content type must be "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
are you getting any error to down load file?