Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      There is currently no way to track progress if CFML code is downloading a large file form a remote server. The application may wish to flush out information to the end user to let them know the progress. Allow CFHTTP to accept a closure which will be called every time 1% of the file has been downloaded. Include the size so far, total size, current percentage, and possibly a KB/s measurement in the data available to the closure. Perhaps the closure could simply be passed the cfhttp structure that is normally available at the end of the call, but it would be populated with the data available so far (including status code, headers, etc, and any new values necessary such as percent done.)

      <cfhttp method="Get"
          url="http://www,remoteServer.com/bigFile.txt"
          progressUDF=function( cfhttp ) { ... Alert the user ... } >
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                bdw429s Brad Wood
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: