[Zope] show filesize in LocalFS
Michael Bleijerveld
michael@bleijerveld.nl
Tue, 15 Jul 2003 20:11:25 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_0082_01C34B0D.44BF6D80
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all,
When using the following statements I receive the message "Error Type: =
NameError Error Value: global name 'get_size' is not defined".
<dtml-in "admin.fileIds()">
<dtml-var sequence-item> <dtml-var "bobobase_modification_time()"> =
<dtml-var "get_size()">
</dtml-in>
What did I do wrong ? How can I display the filesize of the current file =
?
Regards,
Michael
------=_NextPart_000_0082_01C34B0D.44BF6D80
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>When using the following statements I=20
receive the message "Error Type: NameError Error Value: global name =
'get_size' is not defined".<BR></FONT><FONT face=3DArial =
size=3D2></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><dtml-in =
"admin.fileIds()"><BR> =20
<dtml-var sequence-item> <dtml-var=20
"bobobase_modification_time()"> <dtml-var=20
"get_size()"><BR></dtml-in><BR></FONT><FONT face=3DArial=20
size=3D2></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>What did I do wrong ? </FONT><FONT =
face=3DArial=20
size=3D2>How can I display the filesize of the current file =
?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Michael</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> </DIV></FONT></BODY></HTML>
------=_NextPart_000_0082_01C34B0D.44BF6D80--