AnsweredAssumed Answered

Cannot create FileTransferManager object

Question asked by Aayush Thakur on Apr 28, 2017
Latest reply on Apr 29, 2017 by Aayush Thakur

I am trying to implement file transfer in my project but cannot create FileTransferManager object it says:


FileTransferManager (org.jivesoftware.smack.Connection) in FileTransferManager cannot be applied to (org.jivesoftware.smack.tcp.XMPPTCPConnection)


Here is my code:

     FileTransferManager manager = new FileTransferManager(connection);   // Where connection is an object of XMPPTCPConnection