Pre/Post processing of the attachments (compression,virus-check,etc)
|Reported by:||Owned by:|
I would be so happy if it was possible to specify some pre/post-storing processing, launched when a new attachment is made (to a ticket or a wiki) - and similarly, some pre-reading process, of course.
My goal is to save some disk-space on the server (ok, I know - disk are cheap now, but…) by doing a simple bzip on the attached files (and the reverse operation when the files are read)…
(users of my trac site have to regularly provide large logs with their tickets, but I can't ask them to do some compression before (specially with such strange things like bzip): they are not computer scientist, and they are quite impatient persons !)
But such feature can also be used for other purpose… like virus detection?
Change History (12)
comment:2 by , 15 years ago
|Keywords:||attachment compression added; ATTACHMENT COMPRESSION removed|
|Milestone:||not applicable → 2.0|