[opencms-dev] How to read a file size

Olli Aro olli_aro at yahoo.co.uk
Fri Apr 2 10:27:01 CEST 2004


Hi all,

Thanks for your responses. Com.opencms.file.CmsFile.getLength() still reads
the file in memory, so is slow with large files. 

Achim, 

Can you remember what was the property called? Was it a JSP property or a
resource property?

Regards,

Olli  

-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Joachim Arrasz
Sent: 01 April 2004 17:24
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] How to read a file size

Hi Olli,

i think this should go with the getProperty Method ... shouldn`t it?


i think i did this some month ago ..

hope this helps a bit

Bye Achim


-- 
Questions about OpenCMS?
--> www.opencms-forum.de



_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.648 / Virus Database: 415 - Release Date: 31/03/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.648 / Virus Database: 415 - Release Date: 31/03/2004
 




More information about the opencms-dev mailing list