70
CFFTP.ReturnValue Variable
The value of the CFFTP.ReturnValue variable is determined by the results of the
ACTION attribute used in CFFTP .
CFFTP.ReturnValue Variable
CFFTP Action
GetCurrentDir
GetCurrentURL
ExistsDir
ExistsFile
Exists
Accessing the Columns in a Query Object
When you use CFFTP with the ListDir action, you must also specify a value for the
NAME attribute. The value of the NAME attribute is used to hold the results of the
ListDir action in a query object. The query object consists of columns you can
reference in the form:
queryname.columname[row]
Where queryname is the name of the query as specified in the NAME attribute and
columnname is one of the columns returned in the query object as shown in the
following table. Row is the row number for each file/directory entry returned by the
ListDir operation. A separate row is created for each entry.
CFFTP Query Object Columns
Column
Name
Path
URL
Length
LastModified
Value of CFFTP.ReturnValue
String value containing the current directory
String value containing the current URL
Yes or No
Yes or No
Yes or No
Description
Filename of the current element
File path (without drive designation) of the
current element
Complete URL for the current element (file or
directory)
Number indicating file size of the current element
Unformatted date/time value of the current
element
CFML Language Reference
Need help?
Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?
Questions and answers