Making a file able to be downlaodes

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?
 
D

Dan L

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).
 
T

Tom [Pepper] Willett

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?
 
R

Ronx

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

Corey Bryant

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top