468,765 Members | 1,598 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,765 developers. It's quick & easy.

ASP.NET File Download Feature

Hi All,

I need to know how do we implement a file download feature
in ASP.NET. As we see in the MSDN sites (say when we try to download the .NET
famework) , refer this URL


On click of a download button we get a pop up window which will ask the user
to either run or save the file . How is this implemented?

I have a requirement to either give the user an option to save or run a exe
located on a webserver.

I tried some thing like this :

<IFRAME SRC="\\ipaddress\shared\xyz.exe" title="Link">Link</IFRAME>

it works , but when i refer a URL of a webserver like :
http://mywebsite/xyz.exe , the program hangs.It times out most of the times.

I would want to implement the same feature as in MSDN sites , on click of a
button on a aspx page the user should get the run , save or cancel options
and the exe needs to be downloaded from the web server.Can some body help me
on this.


Apr 18 '06 #1
0 859

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by A.M. | last post: by
3 posts views Thread by skyetech | last post: by
20 posts views Thread by Jim Ford | last post: by
4 posts views Thread by majik92 | last post: by
35 posts views Thread by keerthyragavendran | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.