Skip to main content
Inspiring
April 7, 2008
Question

Use CF to list files in a directory

  • April 7, 2008
  • 2 replies
  • 389 views
What CF command do I use to generate a list of all the files stored in a specific directory?

I have a folder where graphic assets get uploaded and I like to generate a pulldown list of all the uploaded files.

Thankyou
    This topic has been closed for replies.

    2 replies

    Inspiring
    April 7, 2008
    <cfdirectory>

    http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_d-e_03.html#1097918

    --
    Ken Ford
    Adobe Community Expert - Dreamweaver
    Fordwebs, LLC
    http://www.fordwebs.com


    "gigasaurus" <webforumsuser@macromedia.com> wrote in message
    news:ftbpqv$86k$1@forums.macromedia.com...
    > What CF command do I use to generate a list of all the files stored in a
    > specific directory?
    >
    > I have a folder where graphic assets get uploaded and I like to generate a
    > pulldown list of all the uploaded files.
    >
    > Thankyou
    >

    April 7, 2008
    Try opening the "CFML Reference". CFDirectory might be a reasonable place to start.