Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to Implement quota Management

How to Implement quota Management

Scheduled Pinned Locked Moved ASP.NET
helptutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SKP24
    wrote on last edited by
    #1

    Hi All How are you. I have a problem. I want to implement “Quota Management” in my application. Quota Management in the sense, Suppose you login to yahoo or gmail or any other mail id, then in the welcome screen you can see a progress bar which is showing you are using 100MB of your 1 GB limit. I want to do the same. Do you have any idea about that. Let me give you a brief idea what I am trying to do. I am creating a new folder for every new user registered. So if I can give a maximum size limit to that folder and at the time of login if I can check the total used space and the maximum size of the folder then the problem may be over. I don’t know if it will work or not. But I guess it will work. Can anybody help me in this. Please please pleaseeee its very urgent.

    Sagar Pattnayak Software Developer Sun-Dew Solutions +91-9831169962

    C N 2 Replies Last reply
    0
    • S SKP24

      Hi All How are you. I have a problem. I want to implement “Quota Management” in my application. Quota Management in the sense, Suppose you login to yahoo or gmail or any other mail id, then in the welcome screen you can see a progress bar which is showing you are using 100MB of your 1 GB limit. I want to do the same. Do you have any idea about that. Let me give you a brief idea what I am trying to do. I am creating a new folder for every new user registered. So if I can give a maximum size limit to that folder and at the time of login if I can check the total used space and the maximum size of the folder then the problem may be over. I don’t know if it will work or not. But I guess it will work. Can anybody help me in this. Please please pleaseeee its very urgent.

      Sagar Pattnayak Software Developer Sun-Dew Solutions +91-9831169962

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You'd do better to track traffic in your database, than fill your server with copies of files.

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      1 Reply Last reply
      0
      • S SKP24

        Hi All How are you. I have a problem. I want to implement “Quota Management” in my application. Quota Management in the sense, Suppose you login to yahoo or gmail or any other mail id, then in the welcome screen you can see a progress bar which is showing you are using 100MB of your 1 GB limit. I want to do the same. Do you have any idea about that. Let me give you a brief idea what I am trying to do. I am creating a new folder for every new user registered. So if I can give a maximum size limit to that folder and at the time of login if I can check the total used space and the maximum size of the folder then the problem may be over. I don’t know if it will work or not. But I guess it will work. Can anybody help me in this. Please please pleaseeee its very urgent.

        Sagar Pattnayak Software Developer Sun-Dew Solutions +91-9831169962

        N Offline
        N Offline
        N a v a n e e t h
        wrote on last edited by
        #3

        SKP24 wrote:

        Suppose you login to yahoo or gmail or any other mail id, then in the welcome screen you can see a progress bar which is showing you are using 100MB of your 1 GB limit

        Mail system won't predefine each folder size. How this works is, whenever a new file is added, it will make sure that totally used space is in between the allowed size. Whatever method you are doing is good. But don't assign any quota for the folder first time. Whenever that folder gets data count the space and make sure that it is in allowed space. As christian said, you can track this in DB too rather than in file system


        My Website | Ask smart questions

        S 1 Reply Last reply
        0
        • N N a v a n e e t h

          SKP24 wrote:

          Suppose you login to yahoo or gmail or any other mail id, then in the welcome screen you can see a progress bar which is showing you are using 100MB of your 1 GB limit

          Mail system won't predefine each folder size. How this works is, whenever a new file is added, it will make sure that totally used space is in between the allowed size. Whatever method you are doing is good. But don't assign any quota for the folder first time. Whenever that folder gets data count the space and make sure that it is in allowed space. As christian said, you can track this in DB too rather than in file system


          My Website | Ask smart questions

          S Offline
          S Offline
          SKP24
          wrote on last edited by
          #4

          I found the solutions for my own problem.....

          Sagar Pattnayak Software Developer Sun-Dew Solutions +91-9831169962

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups