cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Stochmialek <mi...@e-informatyka.pl>
Subject max upload size, how to validate?
Date Tue, 29 Jun 2004 11:12:24 GMT
Hello,

Can you tell me how to validate uploaded file (using woody/cocoon 2.1.5)? 

I've set upload-max-size in configuration, but when user uploads file
which exceeds this limit IOException is thrown. It isn't even  handled
by handle-error block in sitemap, so I could show some meanful message.
It's handled by notifing generator...

Woody validator would be the best solution... Or something like accept
attribute for content type...

is there any elegant (usability!) way to deal with this problem?

regards,
-- 
Michal Stochmialek <misto@e-informatyka.pl>

Mime
View raw message