[Zope] Object File Size...
Michael Fox
Michael@CenturySoftware.com.au
Wed, 3 Jul 2002 16:53:48 +1000
Hi Thierry,
Do you have an example of how I can do this in a dtml-var ?
Regards,
Michael
-----Original Message-----
From: Thierry Florac [mailto:thierry.florac@onf.fr]
Sent: Wednesday, 3 July 2002 4:51 PM
To: Michael Fox
Cc: zope@zope.org
Subject: Re: [Zope] Object File Size...
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 *,
>=20
> How can I render an object's file size in a DTML Document, similar to =
"Size" in the Zope management interface?
>=20
> eg.
>=20
> Type Name Size Last Modified
> [External File] myfile.exe [External Editor] 2.38 Mb 2002-07-02 13:27
>=20
> ^^^
>=20
> Cheers,
> Michael
>=20
>=20
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -=20
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>=20
--=20
Linux every day, keeps Dr Watson away...
http://gpc.tuxfamily.org -- http://www.ulthar.net