Coldfusion 如何正确使用cffile action=读取?
我有一个带有目录文件夹的表,其中包含我的所有.txt文件。现在我希望所有的.txt文件都是可读的。我知道我必须使用Coldfusion 如何正确使用cffile action=读取?,coldfusion,coldfusion-10,cffile,Coldfusion,Coldfusion 10,Cffile,我有一个带有目录文件夹的表,其中包含我的所有.txt文件。现在我希望所有的.txt文件都是可读的。我知道我必须使用,但总是出了问题。如何将cffile标记集成到脚本中 <cfparam name="name" default="0"> <h3>cfdirectory-Test</h3> <cfdirectory directory = "#ExpandPath('150903T')#" action= "list" nam
,但总是出了问题。如何将cffile
标记集成到脚本中
<cfparam name="name" default="0">
<h3>cfdirectory-Test</h3>
<cfdirectory
directory = "#ExpandPath('150903T')#"
action= "list"
name = "meinVerzeichnis"
sort = "name ASC, Type DESC, dateLastModified, Size"
type = "all"
filter = "*#name#*"
>
<cftable border="2"
query="meinVerzeichnis"
htmltable
colheaders>
<cfcol
header="Name:"
text="#Name#">
<cfcol
header="Type:"
text="#Type#">
<cfcol
header="Größe:"
text="#Size#">
<cfcol
header="Letztes Modifikationsdatum:"
text="#dateLastModified#">
</cftable>
<form method="get" action="msuche.cfm">
<button type="submit">Zurück</button>
</form>
目录测试
Zurü;ck
现在我希望所有的.txt文件都是可读的。你说的“可读”是什么意思?诸如出错之类的短语是非常模糊的。请提供完整的错误消息和导致错误的实际代码。要添加到Leigh的评论中,请提供预期/想要的内容以及实际发生的情况。