Skip to Content

Answer to Weblog Question for Sumith Rajagopalan

Sumith Rajagopalan I hope that you read the BSP question forum as well as the weblogs. You posted a question in the discussion forum on the following weblog:


For some reason I can no longer post comments to this or any other weblog right now. I assume there is problem on the SDN side. Therefore I thought I would post the answer here until the problem is resolved.

It appears to be a simple typo in your code. You had:

name = 'content_disposition'
value = 'attachment;filename=webforms.xls' ).

The correct code is:

      name = 'content-disposition' 
      value = 'attachment; 
      filename=webforms.xls' ).

Please note that is is a dash not an underscore in the content-disposition header field name.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 18, 2005 at 03:43 AM

    Yes Thomas, it was the typo. Thanks. It is working perfectly now.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.