You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-dev@incubator.apache.org by "Roopa Trivedi (rotrived)" <ro...@cisco.com> on 2005/12/03 00:16:11 UTC

Example of Ftplet

Hi,
I'm trying to use the DefaultFtplet class to do something extra when a
file transfer request is initiated. The Ftplet does not seem to get
initiated. Is there a sample Ftplet that I could use?

I'm attaching the Ftplet that I created. Also listed below is the change
in my config file. Is there something I missed?

<!-- All ftplets -->
    <ftplets>f1</ftplets>

    <ftplet>
        <f1>
            <class>LimitSizeFtplet</class>
           <!--   <param>value1</param>  -->
        </f1>        
    </ftplet>

Thanks,
Roopa