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

How can I open a file in Coldfusion

Guest
Oct 07, 2015 Oct 07, 2015

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.

229
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
Advocate ,
Oct 07, 2015 Oct 07, 2015
LATEST

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

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