|
 |
asp_web_howto thread: Re: ftp help
Message #1 by "jesse finander" <jfinander@h...> on Mon, 18 Dec 2000 12:19:42 +1100
|
|
I'd like to make a .doc file download to a client when they click on the
hyperlink instead of it opening in the browser window. I want to do this
without converting it to a zip file. if anyone has any suggestions please
write.
I've tried numerous html tags such as <a href=ftp://url> or <a ftp=url> and
I tried to invent some more but nothing works. I think it would be better
to do this with asp.
thanx jesse
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #2 by Imar Spaanjaars <Imar@S...> on Mon, 18 Dec 2000 08:23:59 +0100
|
|
Hi there,
You can't. The action that takes place when clicking a link of a certain
type, is determined by the browser, not by the webserver.
If the client has Microsoft Word installed, the document will open in the
browser window by default. If Word is not installed, a Save As dialog box
is presented.
People with Word installed, will have to right click the document and
choose save as / save target as to save the document to their harddisk.
It may be possible to change the way the browser handles the document but
again: this is a client side action so you need to have control over all
your clients to change these settings.
I think a ZIP is one of your best alternatives to present the Save As
dialog box right away.
Imar
At 06:59 AM 12/18/2000 -0800, you wrote:
>I'd like to make a .doc file download to a client when they click on the
>hyperlink instead of it opening in the browser window. I want to do this
>without converting it to a zip file. if anyone has any suggestions please
>write.
>
>I've tried numerous html tags such as <a href=ftp://url> or <a ftp=url> and
>I tried to invent some more but nothing works. I think it would be better
>to do this with asp.
>
>thanx jesse
>
>
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #3 by "Ken Schaefer" <ken@a...> on Mon, 18 Dec 2000 23:29:59 +1100
|
|
What if you did the following:
Set the Response.ContentType to something other than x-vnd/ms-word (or
whatever the Word content type is), and then streamed the binary data to the
client?
Just a thought...might not work at all.
Cheers
Ken
----- Original Message -----
From: "Imar Spaanjaars" <Imar@S...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Monday, December 18, 2000 6:23 PM
Subject: [asp_web_howto] Re: ftp help
> Hi there,
>
> You can't. The action that takes place when clicking a link of a certain
> type, is determined by the browser, not by the webserver.
> If the client has Microsoft Word installed, the document will open in the
> browser window by default. If Word is not installed, a Save As dialog box
> is presented.
> People with Word installed, will have to right click the document and
> choose save as / save target as to save the document to their harddisk.
> It may be possible to change the way the browser handles the document but
> again: this is a client side action so you need to have control over all
> your clients to change these settings.
>
> I think a ZIP is one of your best alternatives to present the Save As
> dialog box right away.
>
> Imar
>
>
> At 06:59 AM 12/18/2000 -0800, you wrote:
> >I'd like to make a .doc file download to a client when they click on the
> >hyperlink instead of it opening in the browser window. I want to do this
> >without converting it to a zip file. if anyone has any suggestions please
> >write.
> >
> >I've tried numerous html tags such as <a href=ftp://url> or <a ftp=url>
and
> >I tried to invent some more but nothing works. I think it would be
better
> >to do this with asp.
> >
> >thanx jesse
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
|
|
 |