Get a list of the files with cfdirectory action="list" then loop over the
files.

Delete the files with cffile action="delete"

-----Original Message-----
From: Damo Drumm [mailto:[email protected]] 
Sent: Monday, November 09, 2009 11:07 AM
To: cf-talk
Subject: Deleting contents within a folder


Hi
Im trying to delete all the contents within a folder using coldfusion, but
its deleting the actual folder each time

The contents of the folder contains be PDF's

has anyone any tips on deleting the contents and not the actual folder

Thanks 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328128
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