jfc wrote:

> Hi,
>
> I have implemented the functionality for file uploads as demonstrated 
> in struts-upload.war however I have a question.
>
> How could I implement the example such that the file is uploaded chunk 
> by chunk thereby giving the server the opportunity of stopping the 
> upload at a given max file upload size and redirecting to the error page.
>
> Although I have a validation method on my form bean which has the 
> FormFile as a property, it appears as though the file is uploaded in 
> its entirety before the size is checked.
>
> The obvious concern here is that someone might decide to upload a file 
> the size of the internet to my server which would struggle to cope 
> with such a large file.
>
> Perhaps I am overlooking some simple fact to the way this upload works 
> but I don't see a solution at the moment other than somehow uploading 
> the file chunk by chunk.
>
> Any advice is much appreciated.
>
> Jfc
>
>
> -- 
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
>
>
I have to believe this has been covered before but I can find no 
previous posts which answer the question. Any takers?

Chees
jfc



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to