My app is written in C++ and the version of the XceedFtp.dll is 1.1.6461.
I'm sending the file via SendMemoryFileData() since I need to limit the bandwidth. When the internet connection is up everything works fine. I wanted to simulate what would happen if the internet connection goes down as the file is being sent. This is a realistic scenario when this app is deployed since the connection will be over a satellite link that sometimes goes down. Anyway, I set a breakpoint on SendMemoryFileData() and disconnected the ethernet cable. When I continued running the app it just hung. The call to SendMemoryFileData() never returned.
As a side note, I have event handlers in place. If I set a breakpoint on raw_Disconnected() the breakpoint gets hit and SendMemoryFileData() returns (therefore not hanging the app). I don't know if this is of any value but I just thought I would mention it.
Does anyone have any ideas on how to resolve this?
Any help would be greatly appreciated!