Download a file

Discussion in 'ASP .Net' started by Poppy, Jan 30, 2004.

  1. Poppy

    Poppy Guest

    I have a web page which accepts a parameter called myFile which contains the
    location of a file I wish to download.

    How can I get a dialogue box to appear allowing the user to choose where
    they want the file to be downloaded to, then download it ?

    Thanks In Advance
    Poppy, Jan 30, 2004
    #1
    1. Advertising

  2. Poppy

    Curt_C [MVP] Guest

    simply point to the file, Response.Redirect("/path/to/file") and it will do
    it all for you. This will however "open" any filetypes the user has
    associated automatically...

    --
    Curt Christianson
    Owner/Lead Developer, DF-Software
    www.Darkfalz.com


    "Poppy" <> wrote in message
    news:...
    > I have a web page which accepts a parameter called myFile which contains

    the
    > location of a file I wish to download.
    >
    > How can I get a dialogue box to appear allowing the user to choose where
    > they want the file to be downloaded to, then download it ?
    >
    > Thanks In Advance
    >
    >
    >
    Curt_C [MVP], Jan 30, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ryan Taylor
    Replies:
    2
    Views:
    922
    Ryan Taylor
    Nov 10, 2004
  2. Steve C. Orr [MVP, MCSD]
    Replies:
    0
    Views:
    1,588
    Steve C. Orr [MVP, MCSD]
    Mar 7, 2005
  3. Sam --
    Replies:
    2
    Views:
    594
    Sam --
    Mar 17, 2005
  4. Rafal Majda
    Replies:
    5
    Views:
    2,232
    Rafal Majda
    Apr 18, 2005
  5. Brett  Kelly
    Replies:
    1
    Views:
    663
    Steve C. Orr [MVP, MCSD]
    Jun 16, 2006
Loading...

Share This Page