There's a copytree tag in the onTap framework core code that will copy
a whole directory and another deltree tag to delete, so to move a
directory structure, you'd specify <pseudo>copytree:
source-destination then deltree: source</pseudo>. If that sounds
helpful, all the source code is free on the site (see my sig), mangle
at will. :)

s. isaac dealey                214-823-9345

team macromedia volunteer      http://www.macromedia.com/go/team

chief architect, tapestry cms  http://products.turnkey.to

onTap is open source           http://www.turnkey.to/ontap


> I think you'd use CFDIRECTORY to read all the files in the
> directory and then loop over those results to copy/move
> them  (that's my 5 second analysis) ;-)

> Cheers

> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> t. 250.920.8830
> e. [EMAIL PROTECTED]

> ---------------------------------------------------------
> Macromedia Associate Partner
> www.macromedia.com
> ---------------------------------------------------------
> Vancouver Island ColdFusion Users Group
> Founder & Director
> www.cfug-vancouverisland.com
>   ----- Original Message -----
>   From: Robert Orlini
>   To: CF-Talk
>   Sent: Monday, December 15, 2003 11:45 AM
>   Subject: Using CFFile

>   Using CFfile, how do I copy more than one file at a
>   time?

>   The code below works great copying one file, but does
>   not accept more than one. For example lets say I want to
>   copy all the files in the "e:\template\" directory to
>   "d:\template"?

>   <CFFile action=""> >   source="e:\template\application.cfm"
>   destination="d:\template\">

>   Thanks.

>   Robert O.
>   Wilson

>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to