[Zope] Object File Size...

Thierry Florac thierry.florac@onf.fr
03 Jul 2002 08:51:10 +0200


I think you should use the "get_size" method provided by external
files...

  Thierry


On Wed, 2002-07-03 at 08:34, Michael Fox wrote:
> Hi *,
> 
> How can I render an object's file size in a DTML Document, similar to "Size" in the Zope management interface?
> 
> eg.
> 
> Type			Name					Size		Last Modified
> [External File]	myfile.exe [External Editor]	2.38 Mb	2002-07-02 13:27
> 
> 								^^^
> 
> Cheers,
> Michael
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )
> 
-- 
  Linux every day, keeps Dr Watson away...
  http://gpc.tuxfamily.org -- http://www.ulthar.net