Li, thanks for your prompt.

I have just read the document for Ftplet and find something usefull.

There are two methods onUploadUniqueStart and onUploadStart in the default
ftplet. I think here may be a good start.

Though I think the best way for quota  should be check the disk sapce usage
while uploading (not befor a new upload, and here seems impossible to get
the file size when onuploadstart called), Implements from onupload can be
more easier.

However, I am not quite familer with ftp server developer. Is there any
rules or RFC for ftp quota?   For example, when user reach their quota,
which error code should I response?

Is anyone has any idea ? Thanks.

Regards,
Ryan.

Reply via email to