NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: olu on October 03, 2013, 11:01:24 PM

Title: Get Directory Size
Post by: olu on October 03, 2013, 11:01:24 PM
Hi Please can anyone help:
   I have a nettalk application that allocates a folder to each user, where they store images and text files. Each user gets allocated 5MB . But the users need to be notified the status of their storage folder like how much they have used and what is left. So some sort of a barometer.  Please any help on how to achieve this with nettalk?
Title: Re: Get Directory Size
Post by: Bruce on October 03, 2013, 11:02:36 PM
you can use the clarion DIRECTORY command to get a list of the files in a folder, with their size, and calculate their allocation from that.

cheers
Bruce
Title: Re: Get Directory Size
Post by: olu on October 06, 2013, 10:51:27 PM
Thanks bruce got that to work