Re: Delete contents of a directory cfdirectory or cffile

2007-04-06 Thread Charlie Griefer
(re-sending) btw it would be much easier to loop over the query object -as- a query (instead of an index loop). On 4/6/07, Charlie Griefer <[EMAIL PROTECTED]> wrote: > you tell me :) > > what's the issue. getting an error? files not being deleted? > > On 4/6/07, Deepak Gupta <[EMAIL PR

Re: Delete contents of a directory cfdirectory or cffile

2007-04-06 Thread Josh Nathanson
what's going on and what you'll need to do. -- Josh - Original Message - From: "Deepak Gupta" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Friday, April 06, 2007 3:07 PM Subject: Re: Delete contents of a directory cfdirectory or cffile >I am trying to

Re: Delete contents of a directory cfdirectory or cffile

2007-04-06 Thread Deepak Gupta
I am trying to do this http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274745 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe

Re: Delete contents of a directory cfdirectory or cffile

2007-04-06 Thread Charlie Griefer
sorry, i should have specified that it returns a query object of the files in the directory :) On 4/6/07, Charlie Griefer <[EMAIL PROTECTED]> wrote: > cfdirectory returns a query object. loop over the results and use > cffile action="delete". > > On 4/6/07, Deepak Gupta <[EMAIL PROTECTED]> wrote:

Re: Delete contents of a directory cfdirectory or cffile

2007-04-06 Thread Charlie Griefer
cfdirectory returns a query object. loop over the results and use cffile action="delete". On 4/6/07, Deepak Gupta <[EMAIL PROTECTED]> wrote: > Hi > > I need to create a scheduled task at the server level, the task will run a > script that actually deletes all the contents of a folder. How i can

Re: Delete contents of a directory cfdirectory or cffile

2007-04-06 Thread Deepak Gupta
Can anyone help me with this > Hi > > I need to create a scheduled task at the server level, the task will > run a script that actually deletes all the contents of a folder. How i > can do that? > > I tried using cfdirectory but it deletes the whole directory. How I > can just delete the conte

Delete contents of a directory cfdirectory or cffile

2007-04-06 Thread Deepak Gupta
Hi I need to create a scheduled task at the server level, the task will run a script that actually deletes all the contents of a folder. How i can do that? I tried using cfdirectory but it deletes the whole directory. How I can just delete the contents of a directory not the directory itself an