[Zope] how to get the value of size of a word-document
Loren Stafford
lstaffor@dynalogic.com
Wed, 2 Feb 2000 10:07:54 -0800
From the ZDP:
get_size()
Returns the object size in bytes of the document/object.
-- Loren
----- Original Message -----
From: Nico Grubert <nico@beehive.de>
To: <zope@zope.org>
Sent: February 02, 2000 08:12 AM
Subject: [Zope] how to get the value of size of a word-document
> Hi,
>
> I select "file" from the Available Objects list and add a MSWord-File
> with the id "myDoc.doc"
> Zope will add this object.
> Klicking on this object will show me the following screen:
>
> Id : myDoc
> Title : formular
> Content Type : application/msword
> Precondition :
> Size : 66,048 bytes
> Last modified : 2000/01/25 19:41:7.68741 GMT+1
>
>
> How can I get the value for size of the uploaded doc-file to show it
> into a index_html for instance ???
>
> The value of "Last modified" I get with:
> <dtml-var bobobase_modification_time fmt="%d/%m/%Y - %H:%M">
>
>
> thank you
> regards
> nico
>
> _______________________________________________
> 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 )
>