Anybody know of a way to copy a directory and all of its subdirectories and files to a new location?
I know how to create the new directory:
<cfdirectory action="CREATE" directory="C:\NewDir">
Now, the problem I'm having is how to copy C:\Downloads\ into the C:\NewDir\ directory. C:\Downloads contains subdirectories and files, which needs to be copied as well. I've tried a few different combinations of <cffile> but nothing seems to work. <cfdirectory> doesn't have a "copy" action, from what I can tell..
Thanks in advance!
Bobby R
I know how to create the new directory:
<cfdirectory action="CREATE" directory="C:\NewDir">
Now, the problem I'm having is how to copy C:\Downloads\ into the C:\NewDir\ directory. C:\Downloads contains subdirectories and files, which needs to be copied as well. I've tried a few different combinations of <cffile> but nothing seems to work. <cfdirectory> doesn't have a "copy" action, from what I can tell..
Thanks in advance!
Bobby R