Cffile Action=Upload Variables; Cfftp Error Variables; Cfftp Returnvalue Variable - MACROMEDIA COLDFUSION 4.5-QUICK REFERENCE TO CFML Quick Reference

Table of Contents

Advertisement

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
22
Quick Reference to CFML

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 4.5-QUICK REFERENCE TO CFML and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion 4.5

Table of Contents