powered by Jive Software

Config Openfire to support file transfer

Hello everyone!

I’m tring to create a file transfer application using agsXmpp an client side and Openfile on the server side.

When I send a file, I get this iq error

<iq xmlns="jabber:client" to="3d251bd0@myserver/3d251bd0" id="agsXMPP_7" type="error" from="myserver"> <query xmlns="[http://jabber.org/protocol/bytestreams](http://jabber.org/protocol/bytestreams)" sid="d9119c20-f26d-4962-8323-2d4a89fe0ab5"> <activate> f48f5493@myserver/f48f5493 </activate> </query> <error type="cancel" code="501"> <feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /> </error> </iq>

in ActivateBytestreamResult function (if anyone know…).
I realized that this error occurs probably because my Openfire doesn’t support the file transfer feature very well.

Can someone explain to me how shold I need to config Openfire to support this feature?

I tried to set the System Properties but not all the properties are familiar to me.



Can’t say how well is file transfer implemented in Openfire, but you can try enabling the proxy at Server Settings > File Transfer Settings in Admin Console.

I already enabled the File Transfer Settings, and the port is open.
When I try to send file I’m getting the xmpp error I mentioned above.
When I’m using other openfire server, the file transfered successfuly (so my code is OK).

Maybe you have another idea?