Results 1 to 5 of 5

Thread: download link doesn't work the way I want

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2004
    Posts
    169

    download link doesn't work the way I want

    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
    Frenzied Member SeanK's Avatar
    Join Date
    May 2002
    Location
    Boston MA
    Posts
    1,160

    Re: download link doesn't work the way I want

    Are you doing this in VB?
    Beantown Boy
    Please use [highlight=vb]your code goes in here[/highlight] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jun 2004
    Posts
    169

    Re: download link doesn't work the way I want

    asp.net

  4. #4
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089

    Re: download link doesn't work the way I want


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

    Re: download link doesn't work the way I want

    Duplicate threads, never a good thing.

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