Thread: Any Ideas?

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Seattle, WA,USA
    Posts
    84
    Rep Power
    15
    I solved my problem on the other post ( I dunno what I did). But now I need help doing something else. I am writing a script to allow an online disk drive. I need some ideas on how to add up the sizes of all the files (including subdirs) and check to see if thery're over the limit. I have no idea how to do that. Thanks!


    -jerome
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    Herne Bay, Kent, UK
    Posts
    30
    Rep Power
    15
    you could keep the structure of your drive in a database-and reference store all the files in a single directory. then you could do a "select ... sum(...) where..." statement to find out how big a particular set of files is...
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Seattle, WA,USA
    Posts
    84
    Rep Power
    15
    Thanks! I can't believe that idea escaped me. Really good idea!

Similar Threads

  1. layout ideas and suggestions
    By knera in forum Website Critiques
    Replies: 2
    Last Post: January 17th, 2004, 11:20 PM
  2. lookin for web logon ideas
    By robla in forum Beginner Programming
    Replies: 7
    Last Post: December 19th, 2003, 01:32 PM
  3. Any ideas to compress a set of integers
    By nweena in forum C Programming
    Replies: 1
    Last Post: November 4th, 2003, 05:08 PM
  4. Plan to start new site(s) - Here are some ideas
    By newsgeek in forum Beginner Programming
    Replies: 3
    Last Post: September 21st, 2003, 05:45 AM
  5. Replies: 2
    Last Post: September 10th, 2003, 10:59 PM

IMN logo majestic logo threadwatch logo seochat tools logo