Results 1 to 4 of 4

Thread: download

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2002
    Location
    London
    Posts
    678

    download

    In my asp.net page using vb.net, I would like to be able to download a word document which is sitting on the web server.
    How is this done please?

  2. #2
    Junior Member
    Join Date
    Nov 2002
    Location
    Left past the postbox
    Posts
    30

    Reply

    Hi,

    Try something like:

    Code:
    Response.Redirect("word doc here")
    As for downloading it im not sure hows it dealt with, i think word would just take over and load it unless the user clicks "save item as"

    Cya

    Chris
    Never hit a man with glasses, hit him with a baseball bat instead.

  3. #3
    Fanatic Member Redth's Avatar
    Join Date
    May 2001
    Location
    Ontario, Canada
    Posts
    551
    [Double Post]
    Last edited by Redth; Feb 23rd, 2003 at 10:36 PM.

  4. #4
    Fanatic Member Redth's Avatar
    Join Date
    May 2001
    Location
    Ontario, Canada
    Posts
    551
    try using windows sockets to download the word document then you can do what you want with the file from there.

    for users with word installed, or some text editor that reads those files, simply directing them to the url of the word doc will work, and the file will be rendered in the browser.. but it won't work for everyone.. i wouldn't recommend it...

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