View Full Version : Uploading larger files - getting progress-information during upload?

04-04-2003, 10:23 PM
I want to upload larger files to my webserver via $HTTP_POST_FILES.

If you download a file you get instantly the "progress information" from your webbrowser, e.g. 50kb from 320kb downloaded with average 3kb/sec.

Is there a way to integrate something similar for file uploads?

In PHP 4.2.0 a new element was introduced as part of the $HTTP_POST_FILES array which includes the specific error message returned should a file upload fail. Accessible as $HTTP_POST_FILES['file']['error'] it returns the following:
3: The file was only partially uploaded

So it seems to be possible to check a file for completion.

I want to integrate a status information like the normal download information from the webbrowser.

Sorry for my bad english :o

04-04-2003, 11:38 PM
I looked around a bit and this is all I found that might be usefull:


You may want to contact LoVePaRaD.

04-07-2003, 09:25 AM
Thank you! I contacted LoveParad for that.

04-08-2003, 04:19 AM
I'm actually quite interested. I'd rather not bother him if I don't have to, so can you post what he told you?

04-10-2003, 06:35 PM

04-15-2003, 07:08 PM
Seems like too much hassle for making something look pretty.

But that's just me.