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" 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.

Thanks,

Gal