How to set a maximum disc quota for users? - WeOnlyDo Discussion board

How to set a maximum disc quota for users? (General questions)

by new-berlin@gmx.de, Sunday, July 22, 2007, 16:03 (6334 days ago)

Hi!

I'm interested in purchasing the FTP ActiveX control.
I will use it with Delphi.

Can someone explain me, whether it is possible to define a maximum disc quota for thes users?
Can it be solved with virtual folders? How?

Perhaps someone can send a small code snippet?

Regards,
Tim

Re: How to set a maximum disc quota for users?

by wodSupport, Sunday, July 22, 2007, 17:51 (6334 days ago) @ new-berlin@gmx.de

Tim,

hi. Unfortunatelly I don't think there's easy technical way to setup disk quota for users. I think best way would be to do it from the OS itself, to define quotas per directories or per users.

On the other hand, you can easily control total number of uploaded and downloaded files through BytesDownload and BytesUpload properties ( you should preserve them among sessions) if that would help.

Regards,
Kreso