 	<p>
 		You will receive email when processing has completed, usually within 24 hours.
 	</p>
+
+
 	This form allows you to upload a ZIP archive containing images, extract the images, create thumbnails, preview the
 	results, load the images to Arctos, and download a Media Bulkloader template containing the URIs of the images you loaded.
 	<p>

</cfif>
<!---------------------------------------------------------------------------->
<cfif action is "getFile">
	<cftry>
		<cfdirectory action="delete" directory="#sandboxdir#" recurse="true">
		<br>deleted temp dir...
		<cfcatch><!--- exists --->
			<br>could not delete temp dir...
		</cfcatch>
	</cftry>

	<cftry>
		<cfdirectory action="create" directory="#sandboxdir#" mode="766">
		<br>created temp dir...
		<cfcatch><br>could not create temp dir...<!--- exists ---></cfcatch>
	</cftry>
	<cffile action="upload"	destination="#sandboxdir#/" nameConflict="overwrite" fileField="Form.FiletoUpload" mode="600">
	<cffile
	    action = "rename"
	    nameConflict="overwrite"
	    destination = "#sandboxdir#/temp.zip"
	    source = "#sandboxdir#/#cffile.ClientFile#">

	Upload complete. <a href="uploadMedia.cfm?action=unzip">Continue to unzip</a>.
</cfif>
<!---------------------------------------------------------------------------->
<cfif action is "unzip">

		status  varchar2(255) not null
	);

	create public synonym cf_temp_zipload for cf_temp_zipload;

	grant insert,select on cf_temp_zipload to manage_media;



--->
<cfset goodExtensions="jpg,png">
<cfset baseWebDir="#application.serverRootURL#/mediaUploads/#session.username#/#dateformat(now(),'yyyy-mm-dd')#">
