[jdev] Multiple/parallel file transfers
justin-keyword-jabber.093179 at affinix.com
Fri Mar 25 05:16:28 CST 2005
On Friday 25 March 2005 02:58 am, George Hazan wrote:
> I can't find any recommendation in the JEPs how to make multiple file
> transfers (i.e. when a user needs to send several files). Should I send
> them one by one, reestablishing the bytestream every time?
Currently yes, this is the only standard way to do it. There was a JEP to do
"Tree Transfer", but it was not well received, mainly because it doesn't
solve the bytestream reestablishment problem.
> How can I establish a passive file transfer,
> when a listener is being created by a target, not by an initiator?
The JSF Council was not interested in this feature (also known as
role-reversal), so I created it as an extension and optimized it beyond what
we had originally discussed. It is documented below as Fast Mode:
Psi has been using this for over a year now without problems.
> Can I use the
> same bytestream for all files? Can I send file[s] in parallel, inside
> one/many sessions/streams?
The same URL above also describes a Multiplex mode, however it is just an
idea, I've never implemented it nor tried pushing it as a standard (yet).
More information about the JDev