I am trying to find out how to use Openfire APIs to support an outgoing file transfer triggered within an Openfire Plugin.
Here are some more details what I am trying to implement
- a client connects to the Openfire server and requests a file update
- the file update request is intercepted by the new plugin and the plugin sends back the updated file using the file transfer capabilites
I did not find any APIs which are supporting such an outgoing file transfer very easily. In comparison to the smack library where an outgoing file transfer class is supported, I am missing this in the Openfire APIs.
Do I have to
- implement the file transfer from an XMPP client perspective
- use smack
- and connect within the plugin to the Openfire Server?
I appreciate any ideas, help!