I was curious about the potential of cffile.  I have a website where the user 
can upload images to the server but before the image is finalized, they get to 
proof the image first which is stored as a "temp.....jpg" on the server.  If 
they submit it as yes, the file is renamed to the correct name.  If they deny 
the submission, the temp file is deleted.  However, there are times when this 
does not happen (i.e., the user clicks on another link on the page to go 
somewhere else and does not finish the process).  Is there a way for coldfusion 
to look into a folder on the server and come back and tell me how many files 
start with "temp*" or better yet, can I have it find all the files in a folder 
that start with "temp*" and delete them all, possibly through a loop?  This 
would be more efficient than me going in every once in awhile and deleting 
unnecessary files.

Thanks in advance,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2827
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to