21 Mar
2002
21 Mar
'02
8:10 a.m.
Frédéric LEMAITRE wrote:
Hello,
Thanks for all your reponses about my problem with big .HQX files. My only solution, to avoid my Zope's server of crash, is to forbid upload of all .HQX files.
One solution would be to subclass the type of folder you use (Python Product) and change the upload function so that it only allows uploads of certain filenames. Or you can check the content length. I hope, but don't know, if you get the content length before the bytes are transmitted. Would be better if you get it before, otherwise you only disallow the storage but not the upload. thomas