Oh ya....you could also use a custom tag to zip the entire directory's content....move that file...un-zip ;-)

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: Ben Doom
  To: CF-Talk
  Sent: Monday, December 15, 2003 11:54 AM
  Subject: Re: Using CFFile

  Well, a single CFFILE call, as far as I know, can only move one file at
  a time.  If you need to move a directory, as in your example, you can
  use CFDIRECTORY and CFLOOP to run through every file in the directory
  and copy them programatically.

  HTH.

  --Ben Doom

  Robert Orlini wrote:

  > 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