MACROMEDIA COLDFUSION MX 61-CFML Reference page 96

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

Attribute
Req/Opt
mode
Optional
sort
Optional; used
if
"list"
newDirectory Required if
action =
"rename"
Usage
Note: For this tag execute, it must be enabled in the ColdFusion Administrator. For more information,
see Configuring and Administering ColdFusion MX.
If you put ColdFusion applications on a server that is used by multiple customers, you must
consider the security of files and directories that could be uploaded or otherwise manipulated
with this tag by unauthorized users. For more information about securing ColdFusion tags, see
Configuring and Administering ColdFusion MX.
If
action = "list"
tag:
cfoutput
: directory entry name. The entries
name
: directory entry size
size
: file type: File, for a file; Dir, for a directory
type
dateLastModified
: file attributes, if applicable
attributes
: Empty column; retained for backward compatibility with ColdFusion 5 applications on
mode
UNIX.
You can use the following result columns in standard CFML expressions, preceding the result
column name with the query name:
#mydirectory.name#
#mydirectory.size#
#mydirectory.type#
#mydirectory.dateLastModified#
#mydirectory.attributes#
#mydirectory.mode#
96
Chapter 2: ColdFusion Tags
Default
ASC
action =
,
returns these result columns, which you can reference in a
cfdirectory
: the date that an entry was last modified
Description
Used with
action = "create"
only to UNIX and Linux. Octal values of chmod
command. Assigned to owner, group, and other,
respectively. For example:
• 644: Assigns read/write permission to owner; read
permission to group and other
• 777: Assigns read/write/execute permission to all
Query column(s) by which to sort directory listing.
Delimited list of columns from query output.
To qualify a column, use:
• ac: ascending (a to z) sort order
• desc: descending (z to a) sort order
For example:
sort = "dirname ASC, file2 DESC, size,
datelastmodified"
New name for directory
and
are not returned.
"."
".."
. Permissions. Applies

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents