in reply to Upload Progress

I don't recommend it, but I did get something working, based on the Mega-Uploader php uploader script. I hacked it to run with Perl on linux, and I just helped a fellow in Germany get it to run on WindowsXP.

It uses javascript to create a popup, then it spawns 2 cgi programs, one to upload, and one to monitor the -s of the upload and send information back to the javascript popup.

You can test it here . Files are available there too.

I also have a simpler javascript upload indicator there for your use. It gives a simple animation until the upload completes.


I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re: Re: Upload Progress
by Ganlron (Novice) on Apr 27, 2004 at 12:55 UTC
    This is/was similar to what I was thinking of doing. Basically spawning a second script in a new window that would monitor the size progress of the temporary spooling file. I just wish I could determine what the even rough size of the file to be uploaded is, prior to it being spooled. :(

    Thanks for the suggestions though :)
      I just wish I could determine what the even rough size of the file to be uploaded is, prior to it being spooled

      Just look for the Content-Length header in the incoming request headers.

      - Cees