Results 1 to 2 of 2

Thread: asp.net link to download file

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2004
    Posts
    169

    asp.net link to download file

    Anyone have such experience?
    when I write the code to download a file say,
    [CODE]
    <a href="..\mypath\myfilename.fileextension">download</a>

    The code basically works ,but sometime it pops a window to let user download the actual file, but sometimes the browser just redirect and display that file .

    how can I suppress the browser's behaviour of displaying the file but actually download it?

    thanks

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: asp.net link to download file


Posting Permissions

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



Click Here to Expand Forum to Full Width