NamedBlobFile: Getting and Displaying the File Size


I try to get the file size of a named blob file and display it via a TAL page template. I couldn't find a pointer in the Plone docs and searching the internet.
I created a Dexterity content object with NamedBlobFile fields.


Looking at the code, it looks like context.myfield.size and context.myfield.getSize() should both give it to you.