cancel
Showing results for 
Search instead for 
Did you mean: 

property to get the size of a file in KM?

Former Member
0 Kudos

Hello there,

i need help to get the filesize of a file that is stored in KM.

String strNamespace = ?;
String strPropID = ?;

IPropertyName propSize = new PropertyName(strNamespace, strPropID);

Any idea which namespace and propID is needed here?

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

i got the conclusion.

I used

respropertyfile.getContent().getContentLength()

to get the filesize.

Thanks anyway.

regards,

Christian

Former Member
0 Kudos

Note that there's filtered and unfiltered content. Make sure you call getUnfilteredContent(), if you're interested what's really stored in KM.