...

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



Headhunter
04-04-2003, 09: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

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

http://www.phpbuilder.com/board/showthread.php?threadid=10228372

You may want to contact LoVePaRaD.

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

x_goose_x
04-08-2003, 03: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?

Roost3r
04-10-2003, 05:35 PM
ditto

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

But that's just me.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum