MultiUpload Progress Bar not working

  1. #1

    MultiUpload Progress Bar not working


    I tried the Grid example by copying it from Example Explorer (ASPX Web form)

    I tried it on live server, but the progress bar is not working.

    It shows sending with 0%, than after a while 100% and done!

    No fragment/chunk percentage update at all. just 0 and 100.

    I tried with different file sizes, but always same.

    Please help!
  2. #2
    It seems uploadprogress handler not working at all.

    <UploadProgress Handler="updateRecord(, 'progress', Math.round(bytesComplete / bytesTotal));" />
  3. #3
    Hi @GKG4,

    Please clarify what size of the file that you are testing with?

    In any way it cannot be more than 4 megabytes which is ASP.NET maxRequestLength (i.e. file size limit) by default.

    I guess it might be uploaded too quick and UploadProgress doesn't fire.

    Here is a quote from SWFUpload documentation. It is a base of MultiUpload.

    uploadProgress(file object, bytes complete, total bytes)

    The uploadProgress event is fired periodically by the Flash Control. This event is useful for providing UI updates on the page.
    Note: The Linux Flash Player fires a single uploadProgress event after the entire file has been uploaded. This is a bug in the Linux Flash Player that we cannot work around.
    Set using the upload_progress_handler setting.
    So, it states "periodically". I guess an exact period is under the Flash Control.

    To prove that UploadProgress works, I've deployed this page.

    You can try to upload a file (up to 150 MB), then see a browser's console.

    There should appear information according:
    <UploadProgress Handler="console.log('UploadProgress', arguments);" />
  4. #4
    thanks, but this is not what I was talking about.

    Your Grid multiupload example is what I was trying.
    I know the default upload limit, and already increased it to 500 MB
    The problem is not with the upload.
    File is uploading perfectly, its just not showing upload progress.
    Its either 0 or 100, no increments at all, even when the total time too to upload a file is more than 5 minutes.

    Which makes its confusing whether process of upload is going on or stuck.

    The example which you gave me also had nothing like progress bar, instead its showing waiting bar, and not the live progress of uploaded file.
  5. #5
    I figured the error, in your grid multiupload example, you used

    <UploadProgress Handler="updateRecord(, 'progress', Math.round(bytesComplete / bytesTotal));" />

     Math.round(bytesComplete / bytesTotal)
    is keeping value either 0 or 1, so it needs to be changed to

    (bytesComplete / bytesTotal)
    to get proper decimal values to make progress bar work.
  6. #6
    Oh, for some reason I thought that you mean that the UploadProgress doesn't fire at all.

    Thank you for your investigation. I've corrected the online example and will commit the change to SVN.

Similar Threads

  1. Simple MultiUpload not working on IE9 (Windows 7)
    By xtremexploit in forum 2.x Help
    Replies: 1
    Last Post: Oct 28, 2013, 9:02 AM
  2. [CLOSED] Progress bar
    By CSG in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Nov 23, 2009, 9:16 AM
  3. [CLOSED] progress bar
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 09, 2009, 8:53 AM
  4. Progress Bar
    By fabiomarcos in forum 1.x Help
    Replies: 1
    Last Post: Jan 27, 2009, 12:18 PM
  5. Progress bar
    By flaviodamaia in forum 1.x Help
    Replies: 1
    Last Post: Sep 11, 2008, 12:31 PM

Tags for this Thread

Posting Permissions