<!--- Template to process uploaded files from user --->
<HTML>
<HEAD>
<TITLE>CF CFFILE Tag File Upload Demonstration
Results - Example 1</TITLE>
</HEAD>
<BODY> 
<CFFILE 
DESTINATION="C:\INETPUB\WWWROOT\OWS\CHAP35\FILES\" 
ACTION="UPLOAD" 
NAMECONFLICT="OVERWRITE" 
FILEFIELD="FileName">
<CFOUTPUT>
<CENTER>
&lt;CFFILE&gt; Tag File Upload Demonstration Results - Example 1<P>
File Upload was Successful! Information about the file is detailed below
</CENTER>
<HR>
<TABLE BORDER WIDTH="100%">
<CAPTION><B>File Information</B></CAPTION>
<TR>
<TH VALIGN="TOP" ALIGN="LEFT">File Name:</TH>
<TD>#File.ServerDirectory#\#FILE.ServerFile#</TD>
<TH VALIGN="TOP" ALIGN="LEFT">Content Type:</TH><TD>#File.ContentType#</TD>
</TR>
<TR>
<TH VALIGN="TOP" ALIGN="LEFT">Content SubType:</TH>
<TD>#File.ContentSubType#</TD>
<TH VALIGN="TOP" ALIGN="LEFT">Client Path:</TH> 
<TD>#File.ClientDirectory#</TD>
</TR>
<TR>
<TH VALIGN="TOP" ALIGN="LEFT">Client File:</TH><TD>#File.ClientFile#</TD>
<TH VALIGN="TOP" ALIGN="LEFT">Client FileName:</TH>
<TD>#File.ClientFileName#</TD>
</TR>
<TR>
<TH VALIGN="TOP" ALIGN="LEFT">Client FileExt:</TH>
<TD>#File.ClientFileExt#</TD>
<TH VALIGN="TOP" ALIGN="LEFT">Server Path:</TH><TD>#File.ServerDirectory#</TD>
</TR>
<TR>
<TH VALIGN="TOP" ALIGN="LEFT">Server File:</TH><TD>#File.ServerFile#</TD>
<TH VALIGN="TOP" ALIGN="LEFT">Server FileName:</TH>
<TD>#File.ServerFileName#</TD>
</TR>
<TR>
<TH VALIGN="TOP" ALIGN="LEFT">Server FileExt:</TH>
<TD>#File.ServerFileExt#</TD>
<TH VALIGN="TOP" ALIGN="LEFT">Attempted ServerFile:</TH>
<TD>#File.AttemptedServerFile#</TD>
</TR>
<TR>
<TH VALIGN="TOP" ALIGN="LEFT">File Existed?</TH><TD>#File.FileExisted#</TD>
<TH VALIGN="TOP" ALIGN="LEFT">File Was Saved?</TH><TD>#File.FileWasSaved#</TD>
</TR>
<TR>
<TH VALIGN="TOP" ALIGN="LEFT">File Was Overwritten?</TH>
<TD>#File.FileWasOverWritten#</TD>
<TH VALIGN="TOP" ALIGN="LEFT">File Was Appended?</TH>
<TD>#File.FileWasAppended#</TD>
</TR>
<TR>
<TH VALIGN="TOP" ALIGN="LEFT">File Was Renamed?</TH>
<TD>#File.FileWasRenamed#</TD>
<TH VALIGN="TOP" ALIGN="LEFT">File Size:</TH><TD>#File.Filesize#</TD></TH>
</TR>
<TR>
<TH VALIGN="TOP" ALIGN="LEFT">Old File Size:</TH><TD>#File.OldFileSize#</TD>
<TH VALIGN="TOP" ALIGN="LEFT">Date Last Accessed:</TH>
<TD>#DateFormat(File.DateLastAccessed,'DD MMM YYYY')#</TD>
</TR>
<TR>
<TH VALIGN="TOP" ALIGN="LEFT">Date/Time Created:</TH>
<TD>#DateFormat(File.TimeCreated,'DD MMM YYYY')# #Timeformat(File.TimeCreated,'HH:MM:SS')#</TD>
<TH VALIGN="TOP" ALIGN="LEFT">Date/Time Modified:</TH>
<TD>#DateFormat(File.TimeLastModified,'DD MMM YYYY')# #Timeformat(File.TimeLastModified,'HH:MM:SS')#</TD>
</TR>
</TABLE>
</CFOUTPUT>
</BODY>
</HTML>
