File Transfers from Plugins

I’d like to write a plugin to OpenFire which sends a file back to the user. I’m not sure if I should find transfer facilities in the OpenFire API’s or whether I should be using smack for that.

FileTransferManager in OpenFire doesn’t seem to have a way to do it.

If I’m going to use smack then ideally I’d find a way to convert a Connection object to an XMPPConnection. But perhaps not.

Any pointers on whether the OpenFire API can transfer files or whether I just need to establish another connection with the client to send them a file?

Maybe ask in the dev forum?