MACROMEDIA COLDFUSION 4.5-CFML LANGUAGE Reference page 74

Cfml language reference
Table of Contents

Advertisement

50
File Upload Parameters (Continued)
Parameter
FileWasRenamed
FileWasSaved
OldFileSize
ServerDirectory
ServerFile
ServerFileExt
ServerFileName
TimeCreated
TimeLastModified
Tip
Note
UNIX
The following three examples show the use of the MODE attribute for UNIX. The first
example creates the file
Examples
write, group/other=read).
<CFFILE ACTION="Write"
FILE="/tmp/foo"
MODE=644>
This example appends to the specified file and makes permissions read/write (rw) for
all.
Description
Indicates (Yes or No) whether or not the
uploaded file was renamed to avoid a name
conflict.
Indicates (Yes or No) whether or not Cold
Fusion saved a file.
Size of a file that was overwritten in the file
upload operation.
Directory of the file actually saved on the
server.
Filename of the file actually saved on the
server.
Extension of the uploaded file on the server,
without a period, for example, txt not .txt.
Filename, without an extension, of the
uploaded file on the server.
Time the uploaded file was created.
Date and time of the last modification to the
uploaded file.
Use the File prefix to refer to these parameters, for example,
#File.FileExisted#.
File status parameters are read-only. They are set to the results of the
most recent CFFILE operation. (If two CFFILE tags execute, the results of
the first are overwritten by the subsequent CFFILE operation.)
/tmp/foo
with permissions defined as
CFML Language Reference
-- (owner=read/
rw-r-r

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Coldfusion 4.5

Table of Contents