Home Forums ActiveX components Xceed FTP for ActiveX App hangs when calling SendMemoryFileData

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #42780 |

    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!

    Imported from legacy forums. Posted by joe700 (had 4497 views)

    Xceed Support
    Member
    Post count: 5658

    This case was resolved through e-mail support.

    Imported from legacy forums. Posted by CharlesB (had 7076 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.