[opencms-dev] CmsFile.getContents()

Kodumuri, Madhavi MKodumuri at cme.com
Thu Jan 5 20:11:50 CET 2006


Hi,

I initiated CmsObject and got the list of the files under a specific
folder.
Now I am iterating through each file and trying to get contents of the
files using, 

byte[] fileContents = file.getContents();

But I am getting 0 for the fileContents.length. 

Is there any way I can get the contents of the file,

Thanks,

Madhavi Kodumuri

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060105/98d24808/attachment.htm>


More information about the opencms-dev mailing list