cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the size (in kb for example) of a file ?

sam69
Champ in-the-making
Champ in-the-making
Hi,
Does anybody know how to get the size of a specified file through Web services ?
It's not in the columns of the row..
Perhaps I should use the new FileSystem webservice ? Because there is a new type named FileSystemInfo which looks interesting…
But I can't find any documentation about it in the Wiki. There is a dead link !

Thanks in advance for your help !

Regards,

Samuel
2 REPLIES 2

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

Make a call to read on the content service.  This will return a content object which has a length attribute.

Cheers,
Roy

sam69
Champ in-the-making
Champ in-the-making
Thanks a lot !