Cross Post

Topics: Customizing Orchard, Writing modules
Sep 9, 2013 at 9:40 AM

Each site (whether or not you enable multitenancy) seems to have it's own Folder within Media (main file folder for Orchard). I want to get the entire filesize of a current site (ergo, the folder under Media).

I've digged into the Framework and got into FileSystemStorageProvider which seems to be promising with the FileSystemStorageFolder class and GetSize() method.

However, I was wondering if anyone else checked this out before I go into experimenting with that class.

Any piece of information or advise would be highly apreciated. Thanks!