The following file upload status parameters are available after an upload.
AttemptedServerFile Initial name ColdFusion used attempting to save a file,
for example, myfile.txt.
ClientDirectory Directory location of the file uploaded from the client's
system.
ClientFile Name of the file uploaded from the client's system.
ClientFileExt Extension of the uploaded file on the client's system without
a period, for example, txt not .txt.
ClientFileName Filename without an extension of the uploaded file on the
client's system.
ContentSubType MIME content subtype of the saved file.
ContentType MIME content type of the saved file.
DateLastAccessed Date and time the uploaded file was last accessed.
FileExisted Indicates (Yes or No) whether or not the file already existed
with the same path.
FileSize Size of the uploaded file.
FileWasAppended Indicates (Yes or No) whether or not ColdFusion appended
the uploaded file to an existing file.
FileWasOverwritten Indicates (Yes or No) whether or not ColdFusion
overwrote a file.
FileWasRenamed Indicates (Yes or No) whether or not the uploaded file was
renamed to avoid a name conflict.
FileWasSaved Indicates (Yes or No) whether or not Cold Fusion saved a file.
OldFileSize Size of a file that was overwritten in the file upload
operation.
ServerDirectory Directory of the file actually saved on the server.
ServerFile Filename of the file actually saved on the server.
ServerFileExt Extension of the uploaded file on the server, without a
period, for example, txt not .txt.
ServerFileName Filename, without an extension, of the uploaded file on the
server.
TimeCreated Time the uploaded file was created.
TimeLastModified Date and time of the last modification to the uploaded
file.
Tip Use the File prefix to refer to these parameters, for example,
#File.FileExisted#.
Note 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.)
-----Original Message-----
From: HappyToad.com [mailto:[EMAIL PROTECTED]]
Sent: 03 October 2000 08:00
To: CF-Talk
Subject: Photo Upload??
How can I have a photo upload form which will set the propper name for the
file in the database so it can be called upon later? When I upload now it
stores under C:/whatever/image.gif in the database.
Thanks,
Rich
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.