Yes, that is what I'm using and everything transfers successfully – huge files and all. But, I had a heartbeat implemented and the phones were disconnecting, I think, because of the heartbeat during the large file transfers. This is all being done at a remote site. I suspect what may be happening is that the Wi-Fi is not allowing the phones to receive a response to the heartbeat in time. They disconnect.
I would like to try throttling the huge file transfer. I could just wait 500 ms between each chunk, but I'm sending 4500 chunks. At 500 ms per chunk, that's 41 minutes.
I was thinking it might be better to detect the previous chunk has been written, wait a few milliseconds, then send the next chunk. Maybe this would allow the heartbeats to sneak in.
Is there a way to check WriteBufferEmpty? or PreviousTransferComplete?
Along the same lines, I have the heartbeat (or keep alive) that I had been transferring every two seconds. I'm wondering if this is necessary?
Thanks,
Barry.