Hi

On Wed, Mar 26, 2008 at 4:01 PM, Eugene Rachinsky <[EMAIL PROTECTED]> wrote:
> Hi
>
>  I am trying to embed  ftpserver in OSGi environment.

FtpServer is not currently built as a bundle, however I'm currently
looking into this. I will make a major rearrangement of our packages
structure so that we get the public API clearly separated from our
internals. After that I'll update our build to generate the correct
OSGi metadata.

> How can I specify
>  root directory or custom
>  home and log directories?

Currently, the only way of setting the home directory is via whatever
the UserManager does when loading the user. For example, the
PropertiesUserManager keeps users in a file. If this doesn't suite
your needs you could easily write a UserManager that you can configure
from your Java code and that way customize the user home directories.

Log directories are set using whatever logging implementation you use,
for example via the log4j config.

/niklas

Reply via email to