Query Server/Account Info

Discussion in 'ASP.NET / ASP.NET Core' started by bajdev, Jul 9, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hello,

    Is there any way I can query my server/account info. Example: I'd like to be able to query my current bandwidth usage for the month, and if it is reaching a certain point, programmatically (using asp.net) remove certain links to files.

    It would also be nice to be able to query my disk usage, so I could dynamically show an upload page based on how much disk space I have free. I know I could traverse through my webroot and add up the files sizes, but that might be a bit intense.

    Just some thoughts...

    Thanks,
    bajdev
     
  2. K, thanks. I was just curious.
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    We do not currently expose the bandwidth usage via any API yet.

    Disk usage doesn't go by actual file size. It goes by the user quota.


    quote:Originally posted by bajdev

    Hello,

    Is there any way I can query my server/account info. Example: I'd like to be able to query my current bandwidth usage for the month, and if it is reaching a certain point, programmatically (using asp.net) remove certain links to files.

    It would also be nice to be able to query my disk usage, so I could dynamically show an upload page based on how much disk space I have free. I know I could traverse through my webroot and add up the files sizes, but that might be a bit intense.

    Just some thoughts...

    Thanks,
    bajdev
    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page