How to force download

Results 1 to 3 of 3

Thread: How to force download

  1. #1
    newbie2 Guest

    Default How to force download

    I have several products, each product has an associated word document file. When I run my asp file, it shows an option to download the word file for the product specs with each product. When the user clicks the link, it tries to open up on the browser in Word. How do i avoid that and force the user to download the file instead of opening it....

  2. #2
    Join Date
    Dec 1969

    Default RE: How to force download

    Response.AddHeader("content-disposition", "attachment; filename=file.doc")

  3. #3
    newbie2 Guest

    Default RE: How to force download

    Thanx I will try that...<BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts