cfftp action = "listDir"

Description

Use the cfftp tag with the action attribute set to the value listDir to access the columns in a query object.

Category

Internet Protocol tags

Usage

When you use cfftp with the listDir action, you must specify a value for the name attribute. This value holds the results of the listDir action in a query object. The query object consists of columns that you can reference in the form:

queryname.columname[row]

where queryname is the name of the query, specified in the name attribute, and columnname is one of the columns returned in the query object. The value row is the row number for each file/directory entry returned by the listDir operation. A separate row is created for each entry, as in the following table:
cfftp query object column
Description
Name
Filename of the current element.
Path
File path (without drive designation) of the current element.
URL
Complete URL for the current element (file or directory).
Length
File size of the current element.
LastModified
Unformatted date/time value of the current element.
Attributes
String indicating attributes of the current element: normal or Directory.
IsDirectory
Boolean value indicating whether object is a file or directory.
Mode
An octal string representing UNIX permissions, when running on UNIX; for example, "rwxrwxrwx" in a directory listing is represented as "777".


Note

Previously supported query column values that pertain to system-specific information are not supported; for example, hidden and system.