Hi Azadi,

Something in the system is causing the temp folder to be deleted.  So I 
instituted the hack until I can figure out the cause of the unexpected 
deletions. I'm suspecting that the unexpected deletion of the temp folder is 
due to not using cflock around either the CFFILE Upload or Move tags. I'm 
trying to understand if and why a cflock is needed for these tags. 

I check to make sure that the temp folder exists. TempStorage is the full path 
of the temp folder. 

<!--- Set Temp Image Storage Location --->
<cfset TempStorage = ExpandPath("../../UserImages/Temp")>

If it does, nothing happens.
IF it doesn't, then I see if a file named "temp" exists.
IF it does, then I delete it so that I can recreate the temp folder as the OS 
doesn't allow a folder to be the same name as a file.

Any additional insight will be greatly appreciated. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296916
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to