Look at cfdirectory' this will give you everything you need.

And yes, ColdFusion does everything you need!




"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Gary Strommen
To: CF-Newbie
Sent: Mon Jun 11 21:09:29 2007
Subject: cffile possibilites?

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,



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2828
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