Thanks Tom for your reply.
When I tried this code, Its working fine on few machines but on one machine
its not allowing to save/open document but its writing the contents on page.
I think its some thing related to browser settining or MIME Settings.
How to slove this so it always prompt for save/open the contents in related
application.
Regards
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:c1*********@kcweb01.netnews.att.com...
"F@yy@Z" <fa**********@mvwebmaker.com> wrote in message
news:es**************@TK2MSFTNGP10.phx.gbl... Hi all
I have to allow users to download files after checking users validity
and I cannot give full URL of file to download e.g www.myserver.com/mydoc.doc
I have seen ASP code some where in MSDN where users has to enter URL
like www.myserver.com/mydoc.asp and this will download the doc file.
I searched but still no luck to find that code.
Will be very thankfull if some one advise or refer me.
http://support.microsoft.com/?kbid=276488
--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running
IIS http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/