NetTalk Central

Author Topic: Get Directory Size  (Read 2821 times)

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Get Directory Size
« 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?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Get Directory Size
« Reply #1 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

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Re: Get Directory Size
« Reply #2 on: October 06, 2013, 10:51:27 PM »
Thanks bruce got that to work