PDA

View Full Version : Query Server/Account Info


bajdev
07-09-2003, 03:02 AM
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

bajdev
07-10-2003, 03:02 AM
K, thanks. I was just curious.

bruce
07-10-2003, 10:36 AM
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.


[b]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">