469,352 Members | 1,982 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

saving .Doc (office) file

F
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.

Regards

Fayyaz
Jul 19 '05 #1
4 1105
"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/

Jul 19 '05 #2
F
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/

Jul 19 '05 #3
"F@yy@Z" <fa**********@mvwebmaker.com> wrote in message
news:u9**************@TK2MSFTNGP09.phx.gbl...
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.


Is MS Word installed on that machine?

--
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/

Jul 19 '05 #4
F
Yes MS WORD 2002 installed on the machine........

"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:u9**************@TK2MSFTNGP09.phx.gbl...
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.


Is MS Word installed on that machine?

--
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/

Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by James | last post: by
2 posts views Thread by Dennis | last post: by
1 post views Thread by Mladen Jablanovic via .NET 247 | last post: by
6 posts views Thread by Greg Collins [MVP] | last post: by
reply views Thread by Speilman_54 | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.