Subject: Can FileTransferManager only receive one file transfer at a time?
With the FileTransferManager is it possible to receive files from multiple clients simultaneously?
Basically I have one receiving FileTransferManager for User A
User B initiates a file transfer, A accepts and the file transfers fine
User C initiates a file transfer, A accepts and the file transfers fine
If users B and C initiate file transfers and A accepts the file transfer from C while B is transmitting, one of the files will end up being zero bytes on the recipient file system, and the client does not appear to get an OnError/OnAbort event.
Reading through the IBB spec I couldn't tell definitively if it supports simultaneous file transfers with multiple clients. So I'm trying to figure out if I'm hitting a limitation of IBB, my bad use of the library, or a bug in the library.
My use case is as follows:
I will have several webcams on several machines (B and C in the above example), and on some interval I will take a picture, shrink down the resolution (to 40k or less) and send it to a client (A in the above example) which will accept all the transfers from the webcammed machines and write them to disk on a primary machine.
I also noticed that if I call send a second time on the file transfer manager before the first transfer completes similar errors occur. This seems like less of a limitation as the client only needs to send one file at a time, but if the other client can only receive one file at a time that is a non-workable situation for me.
Any ideas on what might be going on and how I can get this to work via MatriX (with Openfire if it matters)?
Basically I have one receiving FileTransferManager for User A
User B initiates a file transfer, A accepts and the file transfers fine
User C initiates a file transfer, A accepts and the file transfers fine
If users B and C initiate file transfers and A accepts the file transfer from C while B is transmitting, one of the files will end up being zero bytes on the recipient file system, and the client does not appear to get an OnError/OnAbort event.
Reading through the IBB spec I couldn't tell definitively if it supports simultaneous file transfers with multiple clients. So I'm trying to figure out if I'm hitting a limitation of IBB, my bad use of the library, or a bug in the library.
My use case is as follows:
I will have several webcams on several machines (B and C in the above example), and on some interval I will take a picture, shrink down the resolution (to 40k or less) and send it to a client (A in the above example) which will accept all the transfers from the webcammed machines and write them to disk on a primary machine.
I also noticed that if I call send a second time on the file transfer manager before the first transfer completes similar errors occur. This seems like less of a limitation as the client only needs to send one file at a time, but if the other client can only receive one file at a time that is a non-workable situation for me.
Any ideas on what might be going on and how I can get this to work via MatriX (with Openfire if it matters)?