you tell me :) what's the issue. getting an error? files not being deleted?
On 4/6/07, Deepak Gupta <[EMAIL PROTECTED]> wrote: > I am trying to do this > <cfdirectory action="list" name="Files" > directory="#getDirectoryFromPath(GetBaseTemplatePath())#SoundFile" > filter="*.zip"> > > > > <cfloop from="1" to="#Files.recordcount#" index="i"> > > <cffile action="delete" > file="#getDirectoryFromPath(GetBaseTemplatePath())#SoundFile\#Files[i]#> > > </cfloop> > > Wats goin wrong here?????? > > >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: > >> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-OT/message.cfm/messageid:267 Subscription: http://www.houseoffusion.com/groups/CF-OT/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.29
