I noticed you have your first query names "filemove". Then you cfloop that query. In the cffile command, however, you are referencing "filecopy".
Is there a filecopy query you forgot to include here?
Do they both have origin and destin fields?
In your cfdirectory tag, is this "origin" variable you use coming from filemove or filecopy?
Main Topics
Browse All Topics





by: Jester_48Posted on 2006-02-01 at 09:56:01ID: 15845944
yuo need a recursive cfdirectory
)#" name="fileList" sort="type desc"> r> \#name#"> tput>
check this out
<cfdirectory action="list" directory="#expandPath('.'
<cfloop query="fileList">
<cfif #type# is "dir">
<cfoutput><b>#Name#</b>-<b
</cfoutput>
<CF_getDir dirPath="#expandPath('.')#
<cfelse><!--- put your move code in here --->
<cfoutput>#Name#<br></cfou
</cfif>
</cfloop>
save as getDir.cfm