Hi,
I'm using the CGI::upload_hook functionality to process multiple file uploads from a webpage and would like to provide users with status on the progress of the upload of each file - ideally a percentage figure of how much of the file content has been uploaded.
To do this, I need to know the size of each file before processing it in the hook. However, I notice that the only globally available indicator of the size of uploaded content seems to be:
$ENV{CONTENT_LENGTH};
...which gives the size for *all* uploaded files.
Does anyone know a way I can determine the size of each *individual* file ?
Thanks,
roadrunner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |