ASP.NET File Download Feature

G

Guest

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

http://www.microsoft.com/downloads/...e3-f589-4842-8157-034d1e7cf3a3&displaylang=en

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.

Thanks

Mahesha
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top