[opencms-dev] How to read a file size

Andras Balogh andras at reea.net
Fri Apr 2 11:12:01 CEST 2004


Hello,

What about  cmsobject.readFileHeader(file).getLength()
??

Best wishes,
Andras.

Olli Aro wrote:

>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  
>
>  
>





More information about the opencms-dev mailing list