Hi,
I am using the common.fileupload 1.2 streaming API to upload files using
AJAX (YAHOO) and servlets.
I have used setFileSizeMax to limit file upload size but find it
unacceptable because the exception is not triggered until setFileSizeMax
bytes are read/written.
I would like to check the file sizes before the upload begins. Is there
a way to access fileSize property?
I have also attempted to use the progressListener and this gives me the
file size sooner but I am unsure what the proper procedure is to
terminate the stream from the listener?
Thanks,
Spencer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]