upload problem
Hi to all
my problem is that i am uploading .pdf files from web form and storing name of file in database and file itself in c:\uploads\reports
in view page of reports i added a link to download reports and saving path in a variable and after that using following line in code to download.
Response.AddHeader("Content-Disposition", "attachment; path=" + strFilePath + "")
BUT
when i click it show me dialog box without appropriate name as well as save my file in html format, even i put hard coded name of file ,it shows exact file name but size of file downloaded is less and even do not open the file and show error message that donot download properly
regards,
Munish
thanks......
__________________
thanks......
|