Downloading a file

Discussion in 'ASP .Net' started by Steven, Jul 28, 2003.

  1. Steven

    Steven Guest

    I want my users to access my .aspx and hit a button to
    download a file. I tried using the a System.Net.Webclient
    object but instead of the file being downloaded to the
    users PC, its copied to the server???

    Any suggestions?

    TIA
     
    Steven, Jul 28, 2003
    #1
    1. Advertising

  2. Steven

    Matt Osborne Guest

    Have you tried resonse.Redirect( URL of File )?

    "Steven" <> wrote in message
    news:01f001c3552d$84334e30$...
    > I want my users to access my .aspx and hit a button to
    > download a file. I tried using the a System.Net.Webclient
    > object but instead of the file being downloaded to the
    > users PC, its copied to the server???
    >
    > Any suggestions?
    >
    > TIA
     
    Matt Osborne, Jul 28, 2003
    #2
    1. Advertising

  3. Steven

    Joerg Jooss Guest

    Steven Fuentes spoke:

    > Matt:
    >
    > Thanks for responding!
    >
    > My users will be connecting to my site with thier notebooks.
    > Once validated, I need the webform application to read all files in
    > a folder on the server, and copy them to their notebook...


    Downloading more than one file in a single HTTP response requires a
    client side application in order to split up the response.

    Cheers,
    --
    Joerg Jooss
     
    Joerg Jooss, Aug 2, 2003
    #3
    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. Ian Gordon

    Downloading a file...

    Ian Gordon, Jul 30, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    947
    Ian Gordon
    Jul 30, 2003
  2. Chris Morrison

    Downloading a file from a website

    Chris Morrison, Dec 18, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    509
    Vijayakrishna Pondala
    Dec 31, 2003
  3. Replies:
    0
    Views:
    408
  4. Ian Gordon

    Downloading a file to client

    Ian Gordon, Jul 30, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    360
    Bill Priess
    Jul 30, 2003
  5. buran
    Replies:
    0
    Views:
    375
    buran
    Sep 13, 2003
Loading...

Share This Page