Making a file able to be downlaodes

  • Thread starter Thread starter Petesouth
  • Start date Start date
P

Petesouth

I am using FP 2003 and am having difficulty enabling visitors to my web to
download files. Href transfer proctocol works fine when previewed in my
browser but receives a 404 "page not found" when page containg the file to be
downloaded is published.

<a href="PBNFiles/1218.PBN">PBN File</a>

Should this code work?
 
As long as the file '1218.PBN' is actually in the folder 'PBNFiles' your code
should work okay. You can also zip your PBN files and when you hyperlink to
them they will prompt for download (again, as long as they're in the location
specified).
 
Also, perhaps the host server is case sensitive, and the file
names/extensions should be in lower case?
--
===
Tom [Pepper] Willett
Microsoft MVP - FrontPage
"You're a daisy if you do!"
---
FrontPage Support:
http://www.frontpagemvps.com/
===
: As long as the file '1218.PBN' is actually in the folder 'PBNFiles' your
code
: should work okay. You can also zip your PBN files and when you hyperlink
to
: them they will prompt for download (again, as long as they're in the
location
: specified).
:
: "Petesouth" wrote:
:
: > I am using FP 2003 and am having difficulty enabling visitors to my web
to
: > download files. Href transfer proctocol works fine when previewed in my
: > browser but receives a 404 "page not found" when page containg the file
to be
: > downloaded is published.
: >
: > <a href="PBNFiles/1218.PBN">PBN File</a>
: >
: > Should this code work?
 
Your server may need a MIME type for .pbn files. IIS 6 and later will
give a 404 error for files that do not have mime types set up.
 
The MIME type is probably the problem. Usually you can set up a MIME type in
your webhosting control panel.

Another way is to ZIP (compress) the files to ensure it is downloaded.
 
Back
Top