File download links...

T

T. Denford

Hi,

I have just designed my first site using FP2003.

I have some links on a page for file downloads. On clicking the links in a
browser, the file is actually displayed within the browser but I don't want
this to happen. I actually want the save as dialog box to appear. The files
in question are PDF and Word documents.

Is there a way to do this please?

Many thanks,
 
K

Kevin Spencer

How are your programming skills?

You have 2 choices: Either accept the way the browser behaves, or write a
custom ASP (PHP, CGI, or whatever is available on your server) web
application to do this.

If you can program, and ASP is available on your server, I (or someone else
here) can give you the basic details.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 
J

Jim Buyens

By far, the easiest and most reliable apporach is to add a little comment
near the link that say, "To download, right-click and choose Save Target As".

However, it that's not acceptable, download the article and sample code
titled Forcing File Downloads (ASP) from
http://www.interlacken.com/winnt/dnld/

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
T

T. Denford

How are your programming skills?

My programming skills are very limited unfortunately.
You have 2 choices: Either accept the way the browser behaves, or write a
custom ASP (PHP, CGI, or whatever is available on your server) web
application to do this.

If you can program, and ASP is available on your server, I (or someone else
here) can give you the basic details.

If you can give me the basic details, I will certainly have a go!

Thanks Kevin.
 
T

T. Denford

By far, the easiest and most reliable apporach is to add a little comment
near the link that say, "To download, right-click and choose Save Target As".

However, it that's not acceptable, download the article and sample code
titled Forcing File Downloads (ASP) from
http://www.interlacken.com/winnt/dnld/

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------

Excellent, thanks for that Jim.
 
S

Stefan B Rusynko

Then put each of the .doc or .pdf files in a Zip file which will force a download




| On Fri, 1 Apr 2005 07:01:24 +0100, T. Denford wrote:
|
| > On Thu, 31 Mar 2005 11:12:00 -0500, Kevin Spencer wrote:
| >
| >> How are your programming skills?
| >
| > My programming skills are very limited unfortunately.
| >
| >>
| >> You have 2 choices: Either accept the way the browser behaves, or write a
| >> custom ASP (PHP, CGI, or whatever is available on your server) web
| >> application to do this.
| >>
| >> If you can program, and ASP is available on your server, I (or someone else
| >> here) can give you the basic details.
|
| Just found out ASP not available on my server but thanks anyway.
|
| >
| > If you can give me the basic details, I will certainly have a go!
| >
| > Thanks Kevin.
|
|
| --
| T. Denford.
 
A

Andrew Murray

put those files in a ZIPPED file (Winzip) then link to the zip file. It
will then prompt with the download dialogue. Users then will have to
decompress ('Unzip") the file to get the PDF or Word documents and then view
them in the default applications.
 
Top