sglee
asked on
Making files available on Coldfusion website for downloading
Hi,
I have Coldfusion server V7 and like to design a webpage where I can post exiting Word, Excel or PDF document so that sales people who work outside of the office to download to read or print or forward it to someone else.
Are there some kind of existing templates available that I can use instead of trying to develop HTML/CFML code to accomplish this?
Thanks.
I have Coldfusion server V7 and like to design a webpage where I can post exiting Word, Excel or PDF document so that sales people who work outside of the office to download to read or print or forward it to someone else.
Are there some kind of existing templates available that I can use instead of trying to develop HTML/CFML code to accomplish this?
Thanks.
ASKER
I will not upload anything personally. Files will be created by users and stored on the file server. From the CF IIS server, I was hoping to simply point to network share folder like this \\DC1\Share\OfficeGeneral\ OutsideSal es\Expense ReportTemp late.doc.
Outside sales people will visit the website like http://www.domain.com/documents/login.cfm, login in using their credentials and they will see the links like
FolderA --> expensereport.doc, salesreport_template.xls, ... etc
FolderB --> OfficeHoliday2018.pdf, ... etc
When they click the file name, they can download this files to their computers and open/edit/print.
Outside sales people will visit the website like http://www.domain.com/documents/login.cfm, login in using their credentials and they will see the links like
FolderA --> expensereport.doc, salesreport_template.xls, ... etc
FolderB --> OfficeHoliday2018.pdf, ... etc
When they click the file name, they can download this files to their computers and open/edit/print.
ASKER
I got the documents available on the webpage using the command like below:
<a href="/documents/files/Emp loyee_Vaca tion_Sched ule.xls">
Currently "Employee_Vacation_Schedul e.XLS" is located in the C drive of this web server. I copied it from the shared folder off production server. Since this file is updated daily by network users daily, I like to link this page to the document on the production server.
How can I change this existing A HREF statement to link the file to the original folder located on production server?
Say we have the file located like this: \\Server1\Shared\Office\Em ployee_Vac ation_Sche dule.XLS
<a href="/documents/files/Emp
Currently "Employee_Vacation_Schedul
How can I change this existing A HREF statement to link the file to the original folder located on production server?
Say we have the file located like this: \\Server1\Shared\Office\Em
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Will you upload files or you just want to display files?