Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

saving an excel file from the server

Guest
Nov 28, 2008 Nov 28, 2008
hi i have a excel file stored on the webserver, what is the best way do have a onclick which opens up a save as box?

i have tried this but get file not found, but the file is there

<cfheader name="Content-Disposition" value="inline; filename=Template.xls">
<cfcontent type="application/vnd.ms-excel" file="siteurl/Template.xls">
TOPICS
Advanced techniques
318
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 30, 2008 Nov 30, 2008
LATEST
hi,

the file attribute needs to have an absolute path: "c:\...{somepath}...\template.xls"

cheers,
fober
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources