• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Looping CFFTP ListDir

New Here ,
Mar 19, 2008 Mar 19, 2008

Copy link to clipboard

Copied

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>
TOPICS
Advanced techniques

Views

389

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 19, 2008 Mar 19, 2008

Copy link to clipboard

Copied

LATEST
What do you get when you do <CFDUMP VAR=#dirquery#> immediately after the CFFTP?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation