Janardhanan, Ajith (AJANARDH) wrote:
Hi Niklas,
Thank you very much for the response. If you could consider the feature
to read the file in transfer from an Ftplet, that definitely would be
great help.
If I wait till the user has uploaded the complete file, there is a
possibility of multiple users doing the same file name.
I hacked the sorcecode for IODataConnection.java and created an
InputStream and am currently reading from it and closing the stream
after read. It is working , but do you foresee any issue if I do it that
way?
One obvious problem is that it would not work with the MINA based
listener as it would not be useful to create a blocking stream there. If
we provide something in the Ftplet interface it would probably be byte
array or ByteBuffer based.
/niklas