2 Replies Latest reply on Jul 21, 2008 11:47 AM by ssailer

    CFDIRECTORY and results paging?

    ssailer
      I realize this is probably a stupid question, but is there way to use something like recordset paging when displaying the files within a particular folder on a server?

      My code:

      <cfset DIRECTORY="#ExpandPath("..\docs\#url.dir#\")#">

      <cfdirectory action="LIST"
      directory="#directory#"
      name="files"
      sort="name">

      From that point, I have the list of files output in the correct directory, based on the URL parameter. I could end up with having 300 plus images in the list that is being displayed as a result of the CFDIRECTORY tag. Is there any way to split up the list? Is there something I could do with the filter option within CFDIRECTORY?

      Thanks!