Sorry for resending, but I don't see my email in the archive so I'm not
sure if it got sent.
Thanks,
Roopa

-----Original Message-----
From: Roopa Trivedi (rotrived) 
Sent: Sunday, December 04, 2005 10:30 PM
To: '[email protected]'
Subject: RE: Limit size of home directory

Sergey,
How would we write a counter for each user? Would we need to modify the
ftp-server src code? I couldn't see anything in the api that gives us
access to user info. 

BTW, I didn't understand what you meant by "please, aswer for prev.
letter :)", please clarify.
Thanks in advance,
Roopa

-----Original Message-----
From: Sergey Vladimirov [mailto:[EMAIL PROTECTED]
Sent: Friday, December 02, 2005 3:50 PM
To: [email protected]
Subject: Re: Limit size of home directory

Hi!

It should be like a counter for each user, which space are already used.
But we need to extends (or aggregate) FileOutputStream to check every
time, will it be possible to put more bytes to user directory.

And, BTW, Roopa, please, aswer for prev. letter :)

Sergey

2005/12/2, Roopa Trivedi (rotrived) <[EMAIL PROTECTED]>:
>
> Hi,
> I would like to put in a restriction such that if the transfer of a 
> file causes the size of the home directory, where files are copied to,

> to be greater than a certain value, prevent the file transfer.
> Can we achieve that? If so, how would we do that?
>
> Thanks in advance,
> Roopa
>


--
Sergey Vladimirov

Reply via email to