I'm experimenting with embedding FtpServer in a junit-based test
harness.
 
Is there some way I can specify to FtpServer the default directory that
should be used (instead of ./res)?  Because of the environment I'm
running under, ./res ends up being at the root of my java project, which
is not where I want it to reside.
 
Additionally, is there is a way to interrogate the embedded server
object about the state of a connection.  Specifically, I would like to
be able to determine programmatically if a connection is PASV or active.

Reply via email to