22
Quick Reference to CFML
CFFILE ACTION=Upload variables
File variables are read-only. Use the CFFILE. prefix to refer-
ence file variables: CFFILE.ClientDirectory. Note that
although still supported, the File. prefix is deprecated in
favor of the CFFILE. prefix.
CFFILE.AttemptedServerFile
CFFILE.ClientDirectory
CFFILE.ClientFile
CFFILE.ClientFileExt
CFFILE.ClientFileName
CFFILE.ContentSubType
CFFILE.ContentType
CFFILE.DateLastAccessed
CFFILE.FileExisted
CFFILE.FileSize
CFFILE.FileWasAppended
CFFILE.FileWasOverwritten
CFFILE.FileWasRenamed
CFFILE.FileWasSaved
CFFILE.OldFileSize
CFFILE.ServerDirectory
CFFILE.ServerFile
CFFILE.ServerFileExt
CFFILE.ServerFileName
CFFILE.TimeCreated
CFFILE.TimeLastModified
CFFTP error variables
When you use the CFFTP STOPONERROR attribute, three
variables are populated.
CFFTP.Succeeded
CFFTP.ErrorCode
CFFTP.ErrorText
CFFTP ReturnValue variable
Some of the CFFTP file and directory operations provide a
return value in the variable:
CFFTP.ReturnValue
The value of the CFFTP.ReturnValue variable is determined
by the results of the ACTION attribute used in CFFTP. When
you specify any of the following actions, CFFTP returns a
value:
• GetCurrentDir
• GetCurrentURL
• ExistsDir
• ExistsFile
• Exists
Summary of Contents for COLDFUSION 4.5- TO CFML
Page 33: ...30 Quick Reference to CFML...