As part of embedding Apache Mina FTP server, we need access to the stream
from the ftp connection from within our application. 

 

We have decided to implement our own STORE command, and then catching the
data stream from the DataConnection. 

 

Our issue is that the DataConnection only offers an outputstream(
transferFromClient(OutputStream out)). I have looked at the implementation
of the interface (org.apache.ftpserver.IODataConnection), and see there the
is a private method getDataInputStream. We would really like to get access
to this method from the DataConnection interface, or a similar method to get
direct access to the inputstream.

 

 

Mvh

 

Tore Storødegård 

 

Reply via email to