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

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to