Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Download files

Reply
Thread Tools

Download files

 
 
Poppy
Guest
Posts: n/a
 
      01-27-2004
I have a webform which lists all files in a directory.

When the user clicks on a file I want it to download. I know it is probably
easy but I cannot figure it out.

If I create a hyperlink then the file opens up in the browser which I do not
want.

The files are either excel, word or txt.

Can anyone point me in the right direction. I feel an idiot.

Thank you


 
Reply With Quote
 
 
 
 
Patrice Scribe
Guest
Posts: n/a
 
      01-27-2004
HOWTO: Raise a "File Download" Dialog Box for a Known MIME Type
http://support.microsoft.com/default...en-us%3B260519

Hope it helps

Patrice

--

"Poppy" <> a écrit dans le message de
news:%...
> I have a webform which lists all files in a directory.
>
> When the user clicks on a file I want it to download. I know it is

probably
> easy but I cannot figure it out.
>
> If I create a hyperlink then the file opens up in the browser which I do

not
> want.
>
> The files are either excel, word or txt.
>
> Can anyone point me in the right direction. I feel an idiot.
>
> Thank you
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Direct Download Movies - No Download Limits - Download DivX DVDMovies hussain dandan Python 0 12-06-2009 04:52 AM
Where download download java.awt.robot class Rafal Majda Java 5 04-18-2005 05:00 PM
problem with code download file - two window file download Sam -- ASP .Net 2 03-17-2005 04:20 PM
Re: How can I display a download link in my (C#) ASP.NET web form to download a file stored in my sql db? Steve C. Orr [MVP, MCSD] ASP .Net 0 03-07-2005 07:14 PM
File upload/download from database. Download appends aspx page to end of file Ryan Taylor ASP .Net 2 11-10-2004 08:31 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57