Outgoing File Transfer fails

Good day, I am using OpenFire 3.9.3 and Smack version 4.1.0 beta1 to attempt to send a file to another mobile client and to spark client which both results in failure.

Also with incoming files, they get stuck at the negotiating status and never continue.

I debugged the IQ being from the device sending the file and received this

<?xml version="1.0" encoding="UTF-8"?> Hgfgcvg_-1226321269.pdf [http://jabber.org/protocol/bytestreams](http://jabber.org/protocol/bytestreams) [http://jabber.org/protocol/ibb](http://jabber.org/protocol/ibb)
<?xml version="1.0" encoding="UTF-8"?>
<iq to="user2" id="A8cyJ-15" type="set">
   <si xmlns="http://jabber.org/protocol/si" id="jsi_8154035058120457630" mime-type="application/pdf" profile="http://jabber.org/protocol/si/profile/file-transfer">
      <file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="New_Agent_-1140654337.pdf" size="2123243520">
         <desc>New_Agent_-1140654337.pdf</desc>
      </file>
      <feature xmlns="http://jabber.org/protocol/feature-neg">
         <x xmlns="jabber:x:data" type="form">
            <field var="stream-method" type="list-single">
               <option>
                  <value>http://jabber.org/protocol/bytestreams</value>
               </option>
               <option>
                  <value>http://jabber.org/protocol/ibb</value>
               </option>
            </field>
         </x>
      </feature>
   </si>
</iq>

I am unsure whether this is a client bug or something that was since patched from this version of smack, any tips or suggestions would be greatly welcomed.

Use Smack 4.1.0-rc3

Thanks for the speedy reply, I will give it a whirl right now.

I am able to receive a file now, but not send one from device to device. I can receive a file from the spark client however. Must the OutgoingFileTransfer be made in a separate thread?

Please follow the instructions found at https://github.com/igniterealtime/Smack/wiki/How-to-ask-for-help-or-report-an-is sue when asking for help. Thank you.

I think I got it working after updating the library and a few tweaks, however I am only getting the negotiating status from the file transfer, that is after it is accepted the in_progress status is never called