I want to know how much space of storage is using each tenant.
I want to be able to store this info in a attribute.
Is there a function like File_Size which will handle this?
Thank you.
Folder size
Folder size
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
Re: Folder size
What are you talking about?weblike wrote:I want to know how much space of storage is using each tenant.
Re: Folder size
You know what I'm talking about....BenHayat wrote:What are you talking about?weblike wrote:I want to know how much space of storage is using each tenant.
My english is not as good as yours, I have to drink a beer to speak fluently
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
Re: Folder size
I think you went overboard this time...weblike wrote: I have to drink a beer to speak fluently
Re: Folder size
You could use Object.DocFileSize=FILE_SIZE(Object.Document) and then keep a running total of all the objects file size per user
Re: Folder size
ACDC wrote:You could use Object.DocFileSize=FILE_SIZE(Object.Document) and then keep a running total of all the objects file size per user
Yes that would be a workaround for Folder Size. Thx.
However would be nice a FOLDER_SIZE function )
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
Re: Folder size
I don't think you are going to get that function, besides why worry about folder size, just assign a data size level to a user and count the size of the files, they don't even have to be in the file system or they could be spread across multiple folders. By working on folder size you are painting yourself into a corner
Re: Folder size
+1I don't think you are going to get that function, besides why worry about folder size, just assign a data size level to a user and count the size of the files, they don't even have to be in the file system or they could be spread across multiple folders. By working on folder size you are painting yourself into a corner
You have a database record for each document stored in either the filesystem or database. Having a 'filesize' attribute for each document and maintaining a running total is easy. This can also be verified by a weekly, monthly scheduled process that can verify it and sending off any alerts to your users / admins etc.
If you have a large amount of files don't to the full size calculation every time a file is added, only do the addition of the new value to the running total.
Regards, James
AwareIM 7.1 on AWS - Beware I'm a AwareIM noob. Anything I help you with might make the hole your in deeper.
AwareIM 7.1 on AWS - Beware I'm a AwareIM noob. Anything I help you with might make the hole your in deeper.