Highlighted

How can I open a file in Coldfusion

New Here ,
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.

Views

105

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How can I open a file in Coldfusion

New Here ,
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.

Views

106

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 07, 2015 0
Advocate ,
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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 07, 2015 1