Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3205

Give option to display client side progress / server side progress in uploader

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.6.0
    • 8.0.2
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.0.3 S5, ZK 8.0.3 S7, ZK 8.0.3 S9, ZK 8.0.3 S10, ZK 8.5.2 S1, ZK 8.6.0 S1, ZK 8.6.0 S2, ZK 8.6.1 S1

      When uploading a file using fileUpload (button upload, etc.), the progress meter position is calculated based on a status ping happening every seconds, in which the server report the current progress (current size uploaded / total file size).

      Some network configurations prevent the server from replying properly, and this causes the progress bar to be non-indicative / confusing for the end user.

      • If a firewall with file analysis (virus, integrity) caches the upload until the whole file is available for analysis, the web server will receive the whole file in one transaction. (This will cause the progress bar to show results such as: [0,0,0...,0,0,100].
        -If a user upload a file from a network location in Firefox, the browser cannot send / receive other network requests during the file transfer. This causes the progress bar not to open, and the client side feel unresponsive. (upload still happen, but the UI "freezes" until it is completed).

      In this case, an option for fileUpload to use the client-side progress information instead could be useful.
      onUpload="[other options],clientProgress=true"

            CharlesQiu CharlesQiu
            MDuchemin MDuchemin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day, 4 hours
                1d 4h
                Remaining:
                Time Spent - 5 hours Remaining Estimate - 7 hours
                7h
                Logged:
                Time Spent - 5 hours Remaining Estimate - 7 hours
                5h