[TYPO3] How to save filesize during upload

Michael Niemann xml.transformator at yahoo.com
Mon May 26 12:43:39 CEST 2008


Hello,

I was using the extension pdflist to upload and display files.
Now I need to output the filesize in the frontend. Of course I could determine each file's size in the frontend plugin but that's too much overhead.

I'd rather save the filesize inside an additional field in the table while the file is uploaded in the backend.

Adding the field is an easy task but where do I add the functionality of reading the filesize and storing it in the new field?

the extension uses it's own record type but creation seems to be fully done through typo3 core.

Thanks in advance
Michael

       


More information about the TYPO3-english mailing list