<cfdirectory> (action="" returns a query object containing the
files within the directory. You could just loop over that 'query' and
use <cffile> with action="" prior to doing the <cfdirectory>
with action="">
?
On Thu, 26 Aug 2004 10:36:10 -0500, Phill B <[EMAIL PROTECTED]> wrote:
> I'm trying to find a way to delete a directory with files in it.
> cfdirectory requires the the directory to be empty before you delete
> it.
>
> What is the best way to delete all the files in the folder?
>
> --
> Phillip B.
>
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- Use CF to delete directory and files in it? Phill B
- RE: Use CF to delete directory and files in it? Mark A. Kruger - CFG
- RE: Use CF to delete directory and files in it? Charlie Griefer
- RE: Use CF to delete directory and files in it? d.a.collie
- Re: Use CF to delete directory and files in it? S . Isaac Dealey
- RE: Use CF to delete directory and files in it? S . Isaac Dealey
- RE: Use CF to delete directory and files in it? S . Isaac Dealey