Download file without popup w ? (asp.net)

liunx

Guest
I need to Download file from backend page via browser but without that popup window "Download File" that appears in browsers, so it should be probably done like web installations, where you click "Yes" and they perform some actions (e.g. copy files).

Is ActiveX the only way to do this ? or there are more ordinary ways and means ?

Please help! I'm not so familiar w .NET namespaces, maybe it's better start digging there ?There is no way to do it. I do not even think activex can do it. It would be a huge security violation. Asp.net can do nothing but send a header to the browser which will then prompt the user. Asp.net is a server side scripting lang so you cannot play with the browser from a .net script.Thanks!

Yep, i know that asp is server-side technology,
i meant i've asp.net environment.

I've done it in ActiveX, but of course it depends
on browser & it's security setupWell you can force ie to Download sutff, but I would not consider that an activex feature... but rather a security hole and another reason why ie sucks. Because activex can be exploited.
 
Back
Top