[Zope] How do I get the size of an item ?

ethan mindlace fremen mindlace@digicool.com
Thu, 11 Jan 2001 14:35:11 -0500


Dimitris Andrakakis wrote:
> 
> ...anyone ?
> 
> Say I have these folders:
> /
> /news
> /news/files
> What I need is, from a dtml method in /news, to get
> the size of an object (a file, say /news/files/file01.pdf)
> in /news/files.

<dtml-with files>
<dtml-var "_.get_size(_['file01.pdf'])">
</dtml-with>

should do the trick.
-- 
-mindlace-
Zopatista Community Liason