Skip to main content
March 19, 2008
Question

Looping CFFTP ListDir

  • March 19, 2008
  • 1 reply
  • 431 views
I am trying to loop through the results of a CFFTP ListDir command, but only a single response is showing up in my output. What am I doing wrong?

<cfftp action="listdir" connection="my_query" name="dirquery" directory="/array1/Plasma">

<cfloop query="dirquery">

<tr>
<font face="arial" size="1">
<td><b>#name#</b></td>
<td>#length#</td>
<td>>$#vidprice#</td>
<td>Buy this clip</td>
</font>
</tr>
</cfloop>
This topic has been closed for replies.

1 reply

March 19, 2008
What do you get when you do <CFDUMP VAR=#dirquery#> immediately after the CFFTP?