Upload not working on adding progress bar script in HTML file

Discussion in 'HTML' started by Saikat Saha, Feb 11, 2014.

  1. Saikat Saha

    Saikat Saha Guest

    I am creating an app where I need to upload file using HTML input type="file" to a PHP server,when I upload the file to the PHP link without progress bar its working fine but when i add progress bar count script using ajaxform its unable to upload the file to the PHP server while this progress barcode works fine for this online test server, http://posttestserver.com/post.php.

    I am not getting what is the actual issue as I am not aware of PHP code andmy friend is not aware of HTML code,my friend is saying there is nothing to do from his end as it is working fine without progress bar script. I had tried all possible progress bar script available in the web.please help me out how to solve it with progress bar count.
    Saikat Saha, Feb 11, 2014
    1. Advertisements

  2. Saikat Saha

    Ray_Net Guest

    I could be that your progress bar code is doing too much cpu ... breaking the
    connection. This could be caused per exemple, il you update your progress bar too
    often , let's says each 10 characters :)
    I had this problem .... and i solved it by dividing the amount of bytes by 20. giving
    per exemple 200 Kbytes - So i updated my progress bar each 200 Kbytes. (only 20 bar
    length updates)
    Ray_Net, Feb 11, 2014
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.