0
How can I open a file in Coldfusion

/t5/coldfusion-discussions/how-can-i-open-a-file-in-coldfusion/td-p/7593597
Oct 07, 2015
Oct 07, 2015
Copy link to clipboard
Copied
Is it possible to open a file in coldfusion ?
My problem is I have a list made with cfdirectory and I want to open the files (.txt) in this list via the browser.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Advocate
,
LATEST
/t5/coldfusion-discussions/how-can-i-open-a-file-in-coldfusion/m-p/7593598#M169846
Oct 07, 2015
Oct 07, 2015
Copy link to clipboard
Copied
If the text files are located within the Web site folder structure you can provide hyperlinks directly to the files, otherwise read the manual about the cfContent tag, which allows you to serve content from any file accessible by the server.
Cheers
Eddie
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

