Forum Moderators: open

Message Too Old, No Replies

Excel file that can be downloaded

         

c55dax

10:30 pm on Mar 4, 2004 (gmt 0)

10+ Year Member



Newbie here

If I have an excel file that I would like to place on a website so that visitors can download the file and save it to their computer-how is this done? I have uploaded the file and I know what page I would like it to appear but I don't know how to insert the file into the web page. Thanks for help

kevinpate

10:55 pm on Mar 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Simply add a link to the file on the page you want the excel file accessed. How much you talk about the file on that page depends on the nature of the file.

I rarely have any spreadsheet files, but for the many guidebooks and registration forms for our users, we typically provide access in three formats: pdf, doc, and txt. A download section on a promoted event page would typically look like:

Widget Guidebook (PDF)
Widget Guidebook (DOC)

Widget Registration (DOC)
Widget Registration (PDF)
Widget Registration (TXT)

c55dax

11:47 pm on Mar 4, 2004 (gmt 0)

10+ Year Member



Newbie:

Unable to prompt user to choose if wants to open file or download file-what I want is for user to download file

[edited by: c55dax at 12:07 am (utc) on Mar. 5, 2004]

c55dax

11:55 pm on Mar 4, 2004 (gmt 0)

10+ Year Member



Ok I fixed the file syntax but server tries to open the file (unsuccessfully) instead of prompting if user wants to open file or save it.

If I do this with a text file, when I place a link to the text file it opens the text file in the browser and the text file can be read;I prefer that the linked file be saved to the visitors computer instead of just opening.

Meanwhile with the link to an excel file it cant even open it -although again what I want is for user to download this file to their computer

txbakers

2:39 am on Mar 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Put a statement near the link that reads: To download: right-click and select "Save Target As..."

DaScribbler

4:20 am on Mar 5, 2004 (gmt 0)

10+ Year Member



Change the MIME type. Browsers don't recognize what they're supposed to do by file extension, they determine what they do with the file based on the MIME type sent by the server.

Do a google search for something akin to "How do I set MIME type in html", there are numerous pages which will explain how it's done.