Skip to main content
July 27, 2012
Question

cfdir question

  • July 27, 2012
  • 2 replies
  • 1027 views

Cfdir can take a while on a large directory and it seems to blank the screen out while waiting. How can a message like "Please Wait" or a progress bar be put on the screen instead ?

    This topic has been closed for replies.

    2 replies

    Inspiring
    July 28, 2012

    <cfprogressbar>

    glamorous_Wonder6C1C
    Inspiring
    July 28, 2012

    I am not sure how much big your directory is?

    Have you tried some thing like this?

    <img id="busy" src="busyIcon">

    <cfdirectory action="list" directory="E:\" name="myvar" >

    <cfdump var="#myvar#" >

    <script type="text/javascript">

         code for hide busy icon.

    </script>

    I know this is looking odd but you can try this.

    glamorous_Wonder6C1C
    Inspiring
    July 28, 2012

    just a quick post!

    Have you checked the view soure, just want to know coldfusion is sending blank response?