Re: [Zope] [HELP] How can i limit the size of Upload ?
-----BEGIN PGP SIGNED MESSAGE----- Hash: MD5 Hi, Experimental RFC 1867 "Form-based File Upload in HTML", from November 1995, says that: If the INPUT tag includes the attribute MAXLENGTH, the user agent should consider its value to represent the maximum Content-Length (in bytes) which the server will accept for transferred files. In this way, servers can hint to the client how much space they have available for a file upload, before that upload takes place. It is important to note, however, that this is only a hint, and the actual requirements of the server may change between form creation and file submission. As other experts stated, there is no OTHER way to limit its size.
Hello,
I would like to know how can i limit the upload size of certains files in Zope.
In fact, my Zope crashes when i upload .HQX files larger than 80 Mo : so i 'd like to limit the upload of these files (from HTTP and FTP) to something like 79 Mo. But only these type of files, not the others.
Can someone help me ? Thanks in advance. Fred.
-----BEGIN PGP SIGNATURE----- Version: 2.6 iQDVAwUAPJhIh/JfaWAEJLRDAQEn6gX/RXUtWuz4opsngDGEFIBWM8csWgwvOpW+ PqJ0J6J+sYAYe61GSMcEaCXYCf4bPlc5Drbw78D3ygsnnV+6xHNvqUsCH0yqtY9O iKW/R4ixnHjkinZYP+4VXG5a9pZBQ48qVq+QxqFm5aXa+gHIuqz0NtHzE9pGSYfL S3tnL8acQC9So3JgzjZWuQj1TW225LT7E4AXGwIU808uHr0EfQwsKBw+tUaIXxw7 IUhLdspZLUn1JEkyMPp3Wphbzk65UZlf =MdX+ -----END PGP SIGNATURE-----
participants (1)
-
Dmitry Litovchenko